From: John Griffith Date: Mon, 5 Aug 2013 19:43:24 +0000 (-0600) Subject: Add bin directory to flake8 when not in venv X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e940c0374d3f7f4e6e7c357d3822468312e53b6c;p=openstack-build%2Fcinder-build.git Add bin directory to flake8 when not in venv 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 --- diff --git a/run_tests.sh b/run_tests.sh index 2569897ea..467473d91 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -180,7 +180,7 @@ function copy_subunit_log { function run_pep8 { echo "Running flake8 ..." - bash -c "${wrapper} flake8" + bash -c "${wrapper} flake8 cinder* bin/*" }