John Vandenberg has uploaded a new change for review. https://gerrit.wikimedia.org/r/291729
Change subject: flake8-future-import 0.4.0 support ...................................................................... flake8-future-import 0.4.0 support flake8-future-import 0.4.0 introduces two new codes FI16 and FI17 for future features nested_scopes and generators that are mandatory on Python 2.6, and thus have not been listed in each file. These two, and FI12 (with_statement) can be deactivated by using the flake8-future-import option min-version = 2.6. Rather than forcing all devs to upgrade, also add the new codes to the ignore list. Change-Id: I71a05cec2077ab07190c2286107ad70f475daa71 --- M tox.ini 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/29/291729/1 diff --git a/tox.ini b/tox.ini index eb77d65..dcee400 100644 --- a/tox.ini +++ b/tox.ini @@ -126,8 +126,10 @@ # E402: module level import not at top of file; see T87409 # H201: Except: format # P102,P103: string does contain unindexed parameters; see I36355923 -ignore = E402,D105,D211,FI10,FI12,FI13,FI15,FI5,H101,H201,H236,H301,H404,H405,I100,I101 +ignore = E402,D105,D211,FI10,FI13,FI15,FI5,H101,H201,H236,H301,H404,H405,I100,I101 +#ignore = E402,D105,D211,FI10,FI12,FI13,FI15,FI16,FI17,FI5,H101,H201,H236,H301,H404,H405,I100,I101 exclude = .tox,.git,./*.egg,ez_setup.py,build,externals,user-config.py,./scripts/i18n/* +min-version = 2.6 max_line_length = 100 accept-encodings = utf-8 require-code = true -- To view, visit https://gerrit.wikimedia.org/r/291729 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I71a05cec2077ab07190c2286107ad70f475daa71 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: John Vandenberg <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
