tox: allow to specify module when running pep8 env
The horizon repo now contains three python modules: openstack_auth, horizon and openstack_dashboard. It is useful if we can specify a specific python module when running 'tox -e pep8'. Change-Id: I35d0f2a762806c52bd2fa0e863db500b4ae2c605
This commit is contained in:
parent
51abdbdd46
commit
72a4f460aa
2
tox.ini
2
tox.ini
@ -60,7 +60,7 @@ commands =
|
|||||||
usedevelop = True
|
usedevelop = True
|
||||||
commands =
|
commands =
|
||||||
{envpython} {toxinidir}/manage.py extract_messages --verbosity 0 --check-only
|
{envpython} {toxinidir}/manage.py extract_messages --verbosity 0 --check-only
|
||||||
flake8
|
flake8 {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user