summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2011-12-14 20:31:16 -0600
committerRick Harris <rconradharris@gmail.com>2011-12-14 20:59:33 -0600
commit8480d74fa17370fec740fe710f07b1ebc64e2ec2 (patch)
treec142e9e60913da85f7a6707671cee414d49738f3
parent369050f3a3f82460825edd23079f8f35334bdf14 (diff)
downloadnova-8480d74fa17370fec740fe710f07b1ebc64e2ec2.tar.gz
nova-8480d74fa17370fec740fe710f07b1ebc64e2ec2.tar.xz
nova-8480d74fa17370fec740fe710f07b1ebc64e2ec2.zip
Making pep8 output less verbose.
Fixes bug #904559 Change-Id: I078b060483890bf8bfc9b78d3174370dea4d6bbc
-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"