mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Move flake8 config into setup.cfg
At the moment the two are duplicative, and it’s not clear which takes precedence. We need to keep the `excludes` line otherwise running the `flake8` command takes ~3 times longer and may lint 3rd party files that we don’t control.
This commit is contained in:
7
.flake8
7
.flake8
@@ -1,7 +0,0 @@
|
|||||||
[flake8]
|
|
||||||
# Rule definitions: http://flake8.pycqa.org/en/latest/user/error-codes.html
|
|
||||||
# W503: line break before binary operator
|
|
||||||
exclude = venv*,__pycache__,node_modules,cache,migrations,build
|
|
||||||
ignore = W503
|
|
||||||
max-complexity = 14
|
|
||||||
max-line-length = 120
|
|
||||||
Reference in New Issue
Block a user