mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-08 22:24:22 -05:00
combine flake8 configs
also, importantly, remove the `select` config, as this implicitly ignores every other warning type
This commit is contained in:
12
.flake8
12
.flake8
@@ -1,7 +1,15 @@
|
||||
[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
|
||||
ignore = W503
|
||||
max-complexity = 14
|
||||
max-line-length = 120
|
||||
|
||||
# B003 assigning to os.environ
|
||||
# B306 BaseException.message has been deprecated
|
||||
# W503: line break before binary operator
|
||||
# W504 line break after binary operator
|
||||
extend_ignore=
|
||||
B003,
|
||||
B306,
|
||||
W503,
|
||||
W504
|
||||
|
||||
Reference in New Issue
Block a user