fix(tox): Address warnings
* Remove "bash" from command string in testenv:pep8 to stop it from complaining about referencing something outside the virtualenv. * Add missing pyflakes dependency Change-Id: I10ae6dba764b4e7d7fcb9aef3f8d84b30ba1c773
This commit is contained in:
parent
488789adc9
commit
a3bfba07cd
@ -5,6 +5,7 @@ discover
|
|||||||
fixtures
|
fixtures
|
||||||
mox
|
mox
|
||||||
pep8==1.3.3
|
pep8==1.3.3
|
||||||
|
pyflakes
|
||||||
python-subunit
|
python-subunit
|
||||||
testrepository
|
testrepository
|
||||||
testtools
|
testtools
|
||||||
|
2
tox.ini
2
tox.ini
@ -21,7 +21,7 @@ downloadcache = ~/cache/pip
|
|||||||
# deps = pep8==1.3.3
|
# deps = pep8==1.3.3
|
||||||
# commands =
|
# commands =
|
||||||
# pep8 --ignore=E125,E126,E711,E712 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack .
|
# pep8 --ignore=E125,E126,E711,E712 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack .
|
||||||
commands = bash tools/run_pep8.sh
|
commands = {toxinidir}/tools/run_pep8.sh
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
setenv = NOSE_WITH_COVERAGE=1
|
setenv = NOSE_WITH_COVERAGE=1
|
||||||
|
Loading…
Reference in New Issue
Block a user