From 4ea40438cf26e8ccbacd628494c50fcf87d04ce1 Mon Sep 17 00:00:00 2001 From: calvin Date: Sun, 14 May 2006 08:30:13 +0000 Subject: [PATCH] pylint filtering git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3164 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 037ea3ea..896c1d22 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ HOST=www.debian.org LCOPTS=-Ftext -Fhtml -Fgml -Fsql -Fcsv -Fxml -Fgxml -Fdot -v -r1 -t0 -C # all Python files in the source PYFILES = $(wildcard *.py) linkchecker linkcheck tests -PYLINT := env PYTHONPATH=. PYLINTRC=config/pylintrc /usr/bin/pylint +PYLINT := env PYTHONPATH=. PYLINTRC=config/pylintrc $(PYTHON) /usr/bin/pylint PYLINTOPTS := --disable-msg-cat=C,R,W PYFLAKES:=pyflakes PYTHONSVN := /home/calvin/src/python-svn @@ -123,7 +123,9 @@ test: localbuild .PHONY: pylint pylint: - $(PYLINT) $(PYLINTOPTS) $(PYFILES) | uniq + $(PYLINT) $(PYLINTOPTS) $(PYFILES) | \ + grep -v "Undefined variable '_'" | \ + uniq .PHONY: pyflakes pyflakes: