From: Ian Jackson Date: Sun, 14 Oct 2018 12:37:06 +0000 (+0100) Subject: setup.cfg: Ignore flake8 W503/W504 operator before/after newline X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=caffd60d4309254ea9cb63cd34e50674447a0344;p=git-buildpackage.git 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 --- diff --git a/setup.cfg b/setup.cfg index fd6cc5f..6e7974f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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