From: Eric Harney Date: Sat, 18 May 2013 16:37:38 +0000 (-0400) Subject: Allow flake8 to run in venv X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=1f0b83e2ddabd813f8eddaf2e00bf47c152b42b8;p=openstack-build%2Fcinder-build.git Allow flake8 to run in venv flake8 should be able to run within the venv. Change-Id: Ife269e54947f0283adceca15af60f38688e1ee64 --- diff --git a/run_tests.sh b/run_tests.sh index 265d31dd3..b420d6795 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -110,7 +110,7 @@ srcfiles+=" setup.py" function run_pep8 { echo "Running PEP8 and HACKING compliance check..." - flake8 cinder* bin + bash -c "${wrapper} flake8 cinder* bin" }