summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2013-01-23 23:26:39 +1300
committerRobert Collins <rbtcollins@hp.com>2013-01-24 12:04:48 +1300
commit99575067cefa52d718f5aad8f69b0fa90efff580 (patch)
tree3b51cdd5e76f4f70f6973e694b23de8d3ee2b6dc
parent13290fdb99e2454aa0cb6a994e175850b365c9e4 (diff)
downloadnova-99575067cefa52d718f5aad8f69b0fa90efff580.tar.gz
nova-99575067cefa52d718f5aad8f69b0fa90efff580.tar.xz
nova-99575067cefa52d718f5aad8f69b0fa90efff580.zip
Skip backup files when running pep8.
Backup files (foo~) are not interesting for a pep8 report. Change-Id: Ib4a43271c8a0ec47d63e61c45125e3f282415927
-rwxr-xr-xrun_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 238f5e194..aea564b78 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -118,7 +118,7 @@ function run_pep8 {
# NOTE(lzyeval): Avoid selecting *.pyc files to reduce pep8 check-up time
# when running on devstack.
srcfiles=`find nova -type f -name "*.py" ! -wholename "nova\/openstack*"`
- srcfiles+=" `find bin -type f ! -name "nova.conf*" ! -name "*api-paste.ini*"`"
+ srcfiles+=" `find bin -type f ! -name "nova.conf*" ! -name "*api-paste.ini*" ! -name "*~"`"
srcfiles+=" `find tools -type f -name "*.py"`"
srcfiles+=" `find plugins -type f -name "*.py"`"
srcfiles+=" `find smoketests -type f -name "*.py"`"