From e0af593277a26192992f939f24e6df3a0ec959f6 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 15 Jul 2015 09:56:09 +0200 Subject: Rewrite pylint-build-scan as improved Python script The upgrade scripts don't have a .py file extension. For this reason they are not picked up by pylint in tox.ini. Tox doesn't support shell scripting. In order to check all files I rewrote the pylint-build-scan.sh script as Python script. --- specs/pki-core.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'specs') diff --git a/specs/pki-core.spec b/specs/pki-core.spec index f7dba32cd..a872b1b6e 100644 --- a/specs/pki-core.spec +++ b/specs/pki-core.spec @@ -714,7 +714,7 @@ done %if ! 0%{?rhel} # Scanning the python code with pylint. -sh ../pylint-build-scan.sh %{buildroot} `pwd` +python2 ../pylint-build-scan.py rpm --prefix %{buildroot} if [ $? -ne 0 ]; then echo "pylint failed. RC: $?" exit 1 -- cgit