summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 0b2acbc00..112a55ca5 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -112,9 +112,8 @@ function run_pep8 {
# other than what the PEP8 tool claims. It is deprecated in Python 3, so,
# perhaps the mistake was thinking that the deprecation applied to Python 2
# as well.
- ${wrapper} pep8 --repeat --show-pep8 --show-source \
- --ignore=E202,W602 \
- ${srcfiles}
+ pep8_opts="--ignore=E202,W602 --repeat"
+ ${wrapper} pep8 ${pep8_opts} ${srcfiles}
}
NOSETESTS="python nova/testing/runner.py $noseopts $noseargs"