mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-05 07:20:58 +00:00
Filter out uninteresting pyflakes warnings
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3713 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
5a2f89fa3d
commit
e73e5396d6
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -5,6 +5,7 @@ VERSION=$(shell $(PYTHON) setup.py --version)
|
|||
HOST=www.debian.org
|
||||
LCOPTS=-Ftext -Fhtml -Fgml -Fsql -Fcsv -Fxml -Fgxml -Fdot -v -r1 -C
|
||||
PYTHONSVN=/home/calvin/src/python-svn
|
||||
PY_FILES_DIRS=linkcheck tests scripts *.py linkchecker gui cgi-bin config doc
|
||||
# build dir for svn-buildpackage
|
||||
SVNBUILD=/home/calvin/src/build-area
|
||||
DEB_ORIG_TARGET=$(SVNBUILD)/linkchecker_$(VERSION).orig.tar.gz
|
||||
|
|
@ -120,7 +121,10 @@ check:
|
|||
check-copyright
|
||||
check-pofiles -v
|
||||
py-tabdaddy -v
|
||||
pyflakes -v linkcheck tests scripts *.py linkchecker gui cgi-bin config doc
|
||||
pyflakes -v $(PY_FILES_DIRS) 2>&1 \
|
||||
grep -v "redefinition of unused 'linkcheck'" | \
|
||||
grep -v "undefined name '_'" | \
|
||||
grep -v "undefined name '_n'"
|
||||
|
||||
.PHONY: releasecheck
|
||||
releasecheck: check
|
||||
|
|
|
|||
Loading…
Reference in a new issue