From 7428085ae53d43cffcc64fa81071d73f3b26acdf Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 19 Sep 2012 09:45:47 +0200 Subject: [PATCH] Filter false positives from pyflakes output. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b4cae1e7..cf394807 100644 --- a/Makefile +++ b/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