[PATCH 1/3] Revert "For now, ignore checking dnfpayload.py with pylint."

Chris Lumens clumens at redhat.com
Mon Oct 14 18:44:49 UTC 2013


This reverts commit cf0267d365af1a9d2dc03466c20d9d2c7be4b56f.
---
 tests/pylint/runpylint.sh | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh
index 0ca8708..927e596 100755
--- a/tests/pylint/runpylint.sh
+++ b/tests/pylint/runpylint.sh
@@ -85,10 +85,6 @@ if [ -z "$FILES" ]; then
     FILES="$(find "${top_srcdir}"/{anaconda,pyanaconda,tests,widgets,utils,scripts} -type f \( -name '*.py' -o -exec awk -e 'NR==1 { if ($0 ~ /^#!\/usr\/bin\/python/) exit 0; else exit 1; }' -e 'END { if (NR == 0) exit 1; }' {} \; \) -print)"
 fi
 for i in $FILES; do
-  if [ -n "$(echo "$i" | grep 'pyanaconda/packaging/dnfpayload.py$')" ]; then
-     continue
-  fi
-
   pylint_output="$(pylint \
     --msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}' \
     -r n --disable=C,R --rcfile=/dev/null \
-- 
1.8.3.1



More information about the anaconda-patches mailing list