]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Make run_tests.sh pep8 conf match tox.
authorDan Prince <dprince@redhat.com>
Wed, 6 Mar 2013 02:01:02 +0000 (21:01 -0500)
committerDan Prince <dprince@redhat.com>
Wed, 6 Mar 2013 02:01:02 +0000 (21:01 -0500)
Updates our run_tests.sh pep8 excludes so that match what we do
in tox.ini (Adds E711,E712 to the exclude list)

Change-Id: Iaf2cee898a957847d444aa7c48db1d4ad088ab6e

run_tests.sh

index d37323dc67ce8063472146bb898b2e568fd9dd84..62179f22cb17d82822624a8e9d3c732081f98169 100755 (executable)
@@ -103,7 +103,7 @@ function run_pep8 {
   PEP8_EXCLUDE="vcsversion.py,*.pyc,openstack"
   # we now turn off pep8 1.3 E125 check to avoid make change to 
   # openstack-common . 
-  PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --ignore=E125 --repeat --show-source"
+  PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --ignore=E125,E711,E712 --repeat --show-source"
   PEP8_INCLUDE="bin/* quantum run_tests.py setup*.py"
   ${wrapper} pep8 $PEP8_OPTIONS $PEP8_INCLUDE
 }