From 61e6f4e34aebdcc79d377fafede563dbd9e63019 Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Thu, 9 Feb 2012 10:32:24 +0000 Subject: bug 929428: pep8 validation on all xapi plugins check every python file under /plugins/xenserver/. Ignore patch files. Change-Id: Ib1170ddabe03de746aae570d30b133aaffb09c88 --- run_tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index fcc0c1f80..7cb0ca9a0 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -92,12 +92,14 @@ function run_tests { function run_pep8 { echo "Running pep8 ..." # Opt-out files from pep8 - ignore_scripts="*.sh:*nova-debug:*clean-vlans" + ignore_scripts="*.patch:*.sh:*nova-debug:*clean-vlans" ignore_files="*eventlet-patch:*pip-requires" GLOBIGNORE="$ignore_scripts:$ignore_files" srcfiles=`find bin -type f ! -name "nova.conf*" ! -name "api-paste.ini*"` srcfiles+=" `find tools/*`" - srcfiles+=" nova setup.py plugins/xenserver/xenapi/etc/xapi.d/plugins/glance" + srcfiles+=" nova setup.py" + srcfiles+=" plugins/xenserver/networking/etc/xensource/scripts/*" + srcfiles+=" plugins/xenserver/xenapi/etc/xapi.d/plugins/*" # Just run PEP8 in current environment # # NOTE(sirp): W602 (deprecated 3-arg raise) is being ignored for the -- cgit