jenkins-bot merged this change.
tox.ini: Ignore W504 errors
Some W504 errors have been detected by flake8 after its new release.
W504 (line break after binary operator) is mostly an stylistic issue
which we have not been very rigorous about; ignore it.
Change-Id: I203077c45b6fba00502e3e8c536da5a049493acd
---
M tox.ini
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tox.ini b/tox.ini
index e5d1d8c..2db36d6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -119,6 +119,7 @@
# H405: docstring summary line
# H301: Do not import more than one module per line; Pywikibot uses H306 (Alphabetically order your imports by the full module path)
# W503: line break before binary operator; against current PEP 8 recommendation
+# W504 line break after binary operator
# P101: format string does contain unindexed parameters
# P102: docstring does contain unindexed parameters
# P103: other string does contain unindexed parameters
@@ -135,7 +136,7 @@
# D413: Missing blank line after last section
# D412: No blank lines allowed between a section header and its content
-ignore = D105,D211,FI12,FI13,FI15,FI16,FI17,FI5,H101,H236,H301,H404,H405,H903,D401,D413,D412,P101,P102,P103,W503
+ignore = D105,D211,FI12,FI13,FI15,FI16,FI17,FI5,H101,H236,H301,H404,H405,H903,D401,D413,D412,P101,P102,P103,W503,W504
exclude = .tox,.git,./*.egg,ez_setup.py,build,externals,user-config.py,./scripts/i18n/*,scripts/userscripts/*
min-version = 2.7
accept-encodings = utf-8
To view, visit change 469381. To unsubscribe, or for help writing mail filters, visit settings.