Uses the venv virtualenv for the pep8 command
The pep8 command doesn't really need to be in its own virtualenv. It can easily share one with docs and sample_config. Change-Id: Ia8304e109529c62e816fa689a5ed5d85edbd4408
This commit is contained in:
parent
a6c3d6d07d
commit
3922f29f20
1
tox.ini
1
tox.ini
@ -12,6 +12,7 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
commands = python setup.py testr --testr-args='{posargs}'
|
commands = python setup.py testr --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
envdir = {toxworkdir}/venv
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
{toxinidir}/tools/config/check_uptodate.sh
|
{toxinidir}/tools/config/check_uptodate.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user