From a3bfba07cdf5bf73606d1b754824c3b739a9c6cd Mon Sep 17 00:00:00 2001 From: kgriffs Date: Wed, 13 Mar 2013 17:09:02 -0400 Subject: [PATCH] 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 --- tools/test-requires | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test-requires b/tools/test-requires index ce17e70c9..ef9024f57 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -5,6 +5,7 @@ discover fixtures mox pep8==1.3.3 +pyflakes python-subunit testrepository testtools diff --git a/tox.ini b/tox.ini index 534e01e7c..8034e9f93 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ downloadcache = ~/cache/pip # deps = pep8==1.3.3 # commands = # 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] setenv = NOSE_WITH_COVERAGE=1