mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-03 06:30:23 +00:00
pylint filtering
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3164 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
ddf3703962
commit
4ea40438cf
1 changed files with 4 additions and 2 deletions
6
Makefile
6
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue