jenkins-bot has submitted this change and it was merged.
Change subject: Let us pass arguments to flake8 in tox env ......................................................................
Let us pass arguments to flake8 in tox env
Tox variable '{posargs}' contains arguments passed to tox with something like:
tox -- <my arguments there>
By adding '{posargs}' to the flake8 command of the flake8 env, one can pass extra arguments to flake8, for example:
tox -eflake8 -- --statistics --show-source
Change-Id: I7d75c282284cc7bba699fa01674efd328f0c0a25 --- M tox.ini 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/tox.ini b/tox.ini index 10e41cd..3d09c39 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ install_command = pip install --process-dependency-links --pre {opts} {packages}
[testenv:flake8] -commands = flake8 +commands = flake8 {posargs} deps = flake8
[testenv:venv]
pywikibot-commits@lists.wikimedia.org