pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone
Blob Blame History Raw
From 0d25e3c170377cc8cbf1506c4b9db91b62261c39 Mon Sep 17 00:00:00 2001
From: Martin Kosek <mkosek@redhat.com>
Date: Fri, 5 Sep 2014 11:48:20 +0200
Subject: [PATCH] Remove pylint from build process

pylint is not present in RHEL-7.0.
---
 Makefile | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/Makefile b/Makefile
index 3251deba35e2129e6192bc4db599c1a07be056a7..fd1aa366cc46d29ad411a450f9ab89f5e60a5da0 100644
--- a/Makefile
+++ b/Makefile
@@ -134,18 +134,6 @@ client-dirs:
 	fi
 
 lint: bootstrap-autogen
-	# find all python modules and executable python files outside modules for pylint check
-	FILES=`find . \
-		-type d -exec test -e '{}/__init__.py' \; -print -prune -o \
-		-path '*/.*' -o \
-		-path './dist/*' -o \
-		-path './lextab.py' -o \
-		-path './yacctab.py' -o \
-		-name '*~' -o \
-		-name \*.py -print -o \
-		-type f -exec grep -qsm1 '^#!.*\bpython' '{}' \; -print`; \
-	echo "Pylint is running, please wait ..."; \
-	PYTHONPATH=. pylint --rcfile=pylintrc $(PYLINTFLAGS) $$FILES || $(LINT_IGNORE_FAIL)
 	$(MAKE) -C install/po validate-src-strings || $(LINT_IGNORE_FAIL)
 
 
-- 
2.7.4