jenkins-bot has submitted this change and it was merged.
Change subject: Disable new pep8 v1.6 rules E402 and E731
......................................................................
Disable new pep8 v1.6 rules E402 and E731
Bug: T87409
Change-Id: I66d97493ca90533c38dd67c2c2849545799857a1
---
M tox.ini
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
XZise: Looks good to me, but someone else must approve
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tox.ini b/tox.ini
index e2e1451..19fe0af 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,13 +13,13 @@
install_command = pip install --process-dependency-links --pre {opts} {packages}
[testenv:flake8]
-commands = flake8 --ignore=D102,D103,E122,E127,E241 {posargs}
+commands = flake8 --ignore=D102,D103,E122,E127,E241,E402,E731 {posargs}
basepython = python2.7
deps = flake8
flake8-docstrings
[testenv:flake8-py3]
-commands = flake8 --ignore=D102,D103,E122,E127,E241 {posargs}
+commands = flake8 --ignore=D102,D103,E122,E127,E241,E402,E731 {posargs}
basepython = python3
deps = flake8
flake8-docstrings
@@ -136,12 +136,12 @@
commands = {posargs}
[flake8]
-ignore = E122,E127,E241,E265
+ignore = E122,E127,E241,E265,E402,E731
exclude = .tox,.git,./*.egg,ez_setup.py,build,externals,user-config.py,./scripts/i18n/*
max_line_length = 130
[pep8]
-ignore = E122,E127,E241
+ignore = E122,E127,E241,E402,E731
exclude = .tox,.git,./*.egg,ez_setup.py,build,externals,user-config.py,./scripts/i18n/*
max_line_length = 130
--
To view, visit
https://gerrit.wikimedia.org/r/189168
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I66d97493ca90533c38dd67c2c2849545799857a1
Gerrit-PatchSet: 3
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Legoktm <legoktm.wikipedia(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>