jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[tests] prevent __future__ imports

Change-Id: Ie1b9b3548db9f403adc17a9b0aa3490eb03928ae
---
M tox.ini
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tox.ini b/tox.ini
index bdac3fa..86b7048 100644
--- a/tox.ini
+++ b/tox.ini
@@ -80,7 +80,6 @@
# D211: No blank lines allowed before class docstring
# FI12,FI13,FI15: __future__ import "with_statement", "print_function" and "generator_stop" missing
# FI1: __future__ import "x" missing
-# FI5: __future__ import "x" present
# H101: TODO format
# H238: Old style class
# H301: Do not import more than one module per line; Pywikibot uses H306 (Alphabetically order your imports by the full module path)
@@ -97,7 +96,7 @@
# D412: No blank lines allowed between a section header and its content
# D413: Missing blank line after last section

-ignore = D105,D211,D401,D413,D412,FI1,FI5,H101,H238,H301,H404,H405,H903,P101,P102,P103,P205,W503
+ignore = D105,D211,D401,D413,D412,FI1,H101,H238,H301,H404,H405,H903,P101,P102,P103,P205,W503
enable-extensions = H203,H204,H205
exclude = .tox,.git,./*.egg,build,scripts/archive/*,./scripts/i18n/*
min-version = 2.7
@@ -116,7 +115,7 @@

per-file-ignores =
generate_family_file.py : T001
- pwb.py : T001
+ pwb.py : FI53, T001
# pydocstyle cannot handle multiple __all__ variables
pywikibot/__init__.py : N802, N806, N815, N816
pywikibot/_wbtypes.py: N802

To view, visit change 640514. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie1b9b3548db9f403adc17a9b0aa3490eb03928ae
Gerrit-Change-Number: 640514
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged