From 2c2d7fe7349cfef6272e3db9d1a9a52878bde88b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 4 Dec 2017 06:36:42 +0100 Subject: [PATCH] Copy-paste pylint commands for second environment Otherwise, tox 2.3.1 (shipped with various distributions) fails with: tox.ConfigError: ConfigError: substitution key 'posargs' not found --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2ada5ab58..a45e04c79 100644 --- a/tox.ini +++ b/tox.ini @@ -133,7 +133,8 @@ deps = -r{toxinidir}/misc/requirements/requirements-pylint.txt commands = {envpython} scripts/link_pyqt.py --tox {envdir} - {[testenv:pylint]commands} + {envpython} -m pylint scripts qutebrowser --output-format=colorized --reports=no {posargs} + {envpython} scripts/dev/run_pylint_on_tests.py {toxinidir} --output-format=colorized --reports=no {posargs} [testenv:pylint-master] basepython = python3