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:
Massimiliano Culpo 2018-10-26 00:11:22 +02:00 committed by Peter Scheibel
parent da537d2211
commit 0d6e73771b
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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