[MediaWiki-commits] [Gerrit] tox: Add flake83 environment to run flake8 under Python 3 - change (pywikibot/core)
jenkins-bot has submitted this change and it was merged. Change subject: tox: Add flake83 environment to run flake8 under Python 3 .. tox: Add flake83 environment to run flake8 under Python 3 The flake8 env is now explicitly for Python 2. This will allow us to run flake8 on both 2 and 3 together. Change-Id: I3502b8266d735577089a3782d7e3f2c08c8c526e --- M tox.ini 1 file changed, 9 insertions(+), 1 deletion(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/tox.ini b/tox.ini index 35281f6..c040f75 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 1.6 skipsdist = True -envlist = flake8,flake8-docstrings,py26,py27,py34 +envlist = flake8,flake83,flake8-docstrings,py26,py27,py34 [testenv] setenv = VIRTUAL_ENV={envdir} @@ -11,9 +11,17 @@ [testenv:flake8] commands = flake8 --ignore=D102,D103,E122,E127,E241 {posargs} +basepython = python2.7 deps = flake8 flake8-docstrings +[testenv:flake83] +commands = flake8 --ignore=D102,D103,E122,E127,E241 {posargs} +basepython = python3 +deps = flake8 + flake8-docstrings + + [testenv:flake8-docstrings] commands = flake8 {posargs} deps = flake8=2.2.5 -- To view, visit https://gerrit.wikimedia.org/r/182042 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3502b8266d735577089a3782d7e3f2c08c8c526e Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Legoktm legoktm.wikipe...@gmail.com Gerrit-Reviewer: Hashar has...@free.fr Gerrit-Reviewer: John Vandenberg jay...@gmail.com Gerrit-Reviewer: Ladsgroup ladsgr...@gmail.com Gerrit-Reviewer: Merlijn van Deen valhall...@arctus.nl Gerrit-Reviewer: Xqt i...@gno.de Gerrit-Reviewer: jenkins-bot ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] tox: Add flake83 environment to run flake8 under Python 3 - change (pywikibot/core)
Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/182042 Change subject: tox: Add flake83 environment to run flake8 under Python 3 .. tox: Add flake83 environment to run flake8 under Python 3 The flake8 env is now explicitly for Python 2. This will allow us to run flake8 on both 2 and 3 together. Change-Id: I3502b8266d735577089a3782d7e3f2c08c8c526e --- M tox.ini 1 file changed, 9 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/42/182042/1 diff --git a/tox.ini b/tox.ini index 35281f6..c040f75 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 1.6 skipsdist = True -envlist = flake8,flake8-docstrings,py26,py27,py34 +envlist = flake8,flake83,flake8-docstrings,py26,py27,py34 [testenv] setenv = VIRTUAL_ENV={envdir} @@ -11,9 +11,17 @@ [testenv:flake8] commands = flake8 --ignore=D102,D103,E122,E127,E241 {posargs} +basepython = python2.7 deps = flake8 flake8-docstrings +[testenv:flake83] +commands = flake8 --ignore=D102,D103,E122,E127,E241 {posargs} +basepython = python3 +deps = flake8 + flake8-docstrings + + [testenv:flake8-docstrings] commands = flake8 {posargs} deps = flake8=2.2.5 -- To view, visit https://gerrit.wikimedia.org/r/182042 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3502b8266d735577089a3782d7e3f2c08c8c526e Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Legoktm legoktm.wikipe...@gmail.com ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits