From f0828ee24bf9781535cb566d9e05d32083f97a2e Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Thu, 7 Mar 2013 00:14:18 +0100 Subject: [PATCH] Ignore Qt generated UI files --- tools/pyflakes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pyflakes.sh b/tools/pyflakes.sh index 3ca18d5f..121c1d2a 100755 --- a/tools/pyflakes.sh +++ b/tools/pyflakes.sh @@ -12,7 +12,7 @@ fi if [ -n "${FLAKE8}" ]; then set -e - ${FLAKE8} --ignore=E,W *.py weboob modules contrib scripts/* + ${FLAKE8} --ignore=E,W --exclude='*_ui.py' *.py weboob modules contrib scripts/* else # grep will return 0 only if it founds something, but our script # wants to return 0 when it founds nothing!