pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/1005-Remove-pylint-from-build-process.patch

403b09
From 0d25e3c170377cc8cbf1506c4b9db91b62261c39 Mon Sep 17 00:00:00 2001
99b6f7
From: Martin Kosek <mkosek@redhat.com>
e3ffab
Date: Fri, 5 Sep 2014 11:48:20 +0200
e3ffab
Subject: [PATCH] Remove pylint from build process
99b6f7
99b6f7
pylint is not present in RHEL-7.0.
99b6f7
---
403b09
 Makefile | 12 ------------
403b09
 1 file changed, 12 deletions(-)
99b6f7
99b6f7
diff --git a/Makefile b/Makefile
403b09
index 3251deba35e2129e6192bc4db599c1a07be056a7..fd1aa366cc46d29ad411a450f9ab89f5e60a5da0 100644
99b6f7
--- a/Makefile
99b6f7
+++ b/Makefile
403b09
@@ -134,18 +134,6 @@ client-dirs:
99b6f7
 	fi
99b6f7
 
99b6f7
 lint: bootstrap-autogen
403b09
-	# find all python modules and executable python files outside modules for pylint check
403b09
-	FILES=`find . \
403b09
-		-type d -exec test -e '{}/__init__.py' \; -print -prune -o \
403b09
-		-path '*/.*' -o \
403b09
-		-path './dist/*' -o \
403b09
-		-path './lextab.py' -o \
403b09
-		-path './yacctab.py' -o \
403b09
-		-name '*~' -o \
403b09
-		-name \*.py -print -o \
403b09
-		-type f -exec grep -qsm1 '^#!.*\bpython' '{}' \; -print`; \
403b09
-	echo "Pylint is running, please wait ..."; \
403b09
-	PYTHONPATH=. pylint --rcfile=pylintrc $(PYLINTFLAGS) $$FILES || $(LINT_IGNORE_FAIL)
403b09
 	$(MAKE) -C install/po validate-src-strings || $(LINT_IGNORE_FAIL)
99b6f7
 
99b6f7
 
99b6f7
-- 
403b09
2.7.4
99b6f7