mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-03 06:30:23 +00:00
Filter false positives from pyflakes output.
This commit is contained in:
parent
f5fbd7666f
commit
7428085ae5
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -233,7 +233,10 @@ test: localbuild
|
|||
|
||||
pyflakes:
|
||||
pyflakes $(PY_FILES_DIRS) 2>&1 | \
|
||||
grep -v "redefinition of unused 'linkcheck'" | \
|
||||
grep -v -E "redefinition of unused '(StringIO|Editor|ContentTypeLexers)'" | \
|
||||
grep -v "local variable 'dummy' is assigned to but never used" | \
|
||||
grep -v -E "'(py2exe|py2app|PyQt4|biplist|setuptools|win32com|find_executable|parse_bookmark_data|parse_bookmark_file|wsgiref|pyftpdlib)' imported but unused" | \
|
||||
grep -v -E "redefinition of unused '(setup|Distribution|build)'" | \
|
||||
grep -v "undefined name '_'" | \
|
||||
grep -v "undefined name '_n'" | cat
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue