chiark
/
gitweb
/
~ianmdlvl
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df9c5d
)
setup.cfg: Ignore flake8 W503/W504 operator before/after newline
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Oct 2018 12:37:06 +0000
(13:37 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Oct 2018 14:17:27 +0000
(15:17 +0100)
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>
setup.cfg
patch
|
blob
|
history
diff --git
a/setup.cfg
b/setup.cfg
index fd6cc5fe009c828e5091af2e18526a438305728a..6e7974fcd503b6153214c361b85f80f7933714c6 100644
(file)
--- 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