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
This commit is contained in:
Florian Bruhin 2017-12-04 06:36:42 +01:00
parent 6b65d96fe1
commit 2c2d7fe734

View File

@ -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