]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add bin directory to flake8 when not in venv
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 5 Aug 2013 19:43:24 +0000 (13:43 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Mon, 5 Aug 2013 19:44:30 +0000 (13:44 -0600)
If doing run_tests.sh -N -p we only check cinder*
This patch adds a directive to also check the files
in bin/

Change-Id: Ia68073e16067df978475db058c9c0693f35df81c

run_tests.sh

index 2569897ea1aa1878c1153d78c0161385ee70d2d4..467473d915ae1a97186da172a8af496b9152f377 100755 (executable)
@@ -180,7 +180,7 @@ function copy_subunit_log {
 
 function run_pep8 {
   echo "Running flake8 ..."
-  bash -c "${wrapper} flake8"
+  bash -c "${wrapper} flake8 cinder* bin/*"
 }