diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-14 13:37:06 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-14 15:17:27 +0100 |
commit | caffd60d4309254ea9cb63cd34e50674447a0344 (patch) | |
tree | 3c189d8220d7182b86c91d7ab1140ba625dad3ea | |
parent | 8df9c5df4e01c34fac368840ab78fb592461e73b (diff) |
setup.cfg: Ignore flake8 W503/W504 operator before/after newline
This is in the default ignore list. Unfortunately setting the list
overrides the default ignores.
Some discussion of this here:
https://github.com/PyCQA/pycodestyle/issues/498
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | setup.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,5 +9,6 @@ verbosity=2 [flake8] # E501: ignore line length # E265: block comment should start with '# ' -ignore=E501,E265 +# W503 / W504: line break before / after binary operator +ignore=E501,E265,W503,W504 builtins=unicode,execfile,raw_input |