]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Allow flake8 to run in venv
authorEric Harney <eharney@redhat.com>
Sat, 18 May 2013 16:37:38 +0000 (12:37 -0400)
committerEric Harney <eharney@redhat.com>
Mon, 20 May 2013 15:33:53 +0000 (11:33 -0400)
flake8 should be able to run within the venv.

Change-Id: Ife269e54947f0283adceca15af60f38688e1ee64

run_tests.sh

index 265d31dd37152ca3889743cef92a039562d6b045..b420d67954b927151a049de0aa381511d7362ced 100755 (executable)
@@ -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"
 }