flake8: explicitly allow line break before or after binary operator (#9627)
W503 and W504 are issued for line breaks before or after binary operators (respectively). This allows either approach (explicitly instructing flake8 to ignore both of these cases).
This commit is contained in:
parent
da537d2211
commit
0d6e73771b
2 changed files with 2 additions and 2 deletions
2
.flake8
2
.flake8
|
@ -20,5 +20,5 @@
|
|||
# - N801: CapWords for class names.
|
||||
#
|
||||
[flake8]
|
||||
ignore = E129,E221,E241,E272,E731,F999,N801
|
||||
ignore = E129,E221,E241,E272,E731,F999,N801,W503,W504
|
||||
max-line-length = 79
|
||||
|
|
|
@ -18,5 +18,5 @@
|
|||
# - F821: undefined name `name` (needed for cmake, configure, etc.)
|
||||
#
|
||||
[flake8]
|
||||
ignore = E129,E221,E241,E272,E731,F999,F405,F821
|
||||
ignore = E129,E221,E241,E272,E731,F999,F405,F821,W503,W504
|
||||
max-line-length = 79
|
||||
|
|
Loading…
Reference in a new issue