Ignore flake8's 'W504 line break after binary operator'
authorGuido Günther <agx@sigxcpu.org>
Mon, 15 Oct 2018 07:57:55 +0000 (09:57 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 15 Oct 2018 08:15:08 +0000 (10:15 +0200)
With flake8's other warnings this doesn't make much sense since
indentation accoding to https://hg.python.org/peps/rev/3857909d7956
does not work. It triggers

- 'W503 line break before binary operator'
- 'E129 visually indented line with same indent as next logical line'

If one want to align the operators one hits
- 'E127 continuation line over-indented for visual indent'

So let's leave things as is for the moment.

setup.cfg

index fd6cc5fe009c828e5091af2e18526a438305728a..af80cdb125686f581c47cdde9fbdd1809833b6fb 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -9,5 +9,5 @@ verbosity=2
 [flake8]
 # E501: ignore line length
 # E265: block comment should start with '# '
-ignore=E501,E265
+ignore=E501,E265,W504
 builtins=unicode,execfile,raw_input