Add pep8 ignore options to run_tests.sh

Updates run_tests.sh so it uses the same pep8 ignore options
we do for tox. This fixes a slew of pep8 errors that will occur
with recent pep8 releases using Glance.

Change-Id: I0a9bb237f75eb307ee433cc6b1c5f78cd71dd02e
This commit is contained in:
Dan Prince 2012-11-25 21:22:10 -05:00
parent e6ae6e428c
commit b8b3aa407e
1 changed files with 3 additions and 1 deletions

View File

@ -67,8 +67,10 @@ function run_pep8 {
echo "Running pep8 ..."
PEP8_EXCLUDE=".venv,.tox,dist,doc,openstack"
PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --repeat"
PEP8_IGNORE="--ignore=E125,E126,E711,E712"
PEP8_INCLUDE=". bin/*"
${wrapper} pep8 $PEP8_OPTIONS $PEP8_INCLUDE
${wrapper} pep8 $PEP8_OPTIONS $PEP8_INCLUDE $PEP8_IGNORE
}