[blivet:master 7/9] Do not run pylint on sphinx generated conf.py

mulhern amulhern at redhat.com
Wed Apr 23 21:49:31 UTC 2014


And do not screen out old_tests since blivet does not have such a directory.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 tests/pylint/runpylint.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh
index e0ec7de..5eda05d 100755
--- a/tests/pylint/runpylint.sh
+++ b/tests/pylint/runpylint.sh
@@ -95,7 +95,7 @@ if [ -z "$FILES" ]; then
     # the first line.  Scan everything except old_tests
     FILES=$(findtestfiles \( -name '*.py' -o \
                 -exec /bin/sh -c "head -1 {} | grep -q '#!/usr/bin/python'" \; \) -print | \
-            egrep -v '(|/)old_tests/')
+            egrep -v '(|/)doc/conf.py')
 fi
 
 num_cpus=$(getconf _NPROCESSORS_ONLN)
-- 
1.8.3.1



More information about the anaconda-patches mailing list