jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/469381 )

Change subject: tox.ini: Ignore W504 errors
......................................................................

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(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



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 https://gerrit.wikimedia.org/r/469381
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I203077c45b6fba00502e3e8c536da5a049493acd
Gerrit-Change-Number: 469381
Gerrit-PatchSet: 2
Gerrit-Owner: Dalba <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Pywikibot-test <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
Gerrit-CC: Dvorapa <[email protected]>
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to