From b8b3aa407e638d38e0a871e8e3ee88fbb61de8c9 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Sun, 25 Nov 2012 21:22:10 -0500 Subject: [PATCH] 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 --- run_tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 41d2bb1865..735b7aaff1 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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 }