pyflakes fixes for unchecked files
They were not in the tools/pyflakes.sh runs
This commit is contained in:
parent
75b428af07
commit
dcb2b61b18
3 changed files with 5 additions and 6 deletions
|
|
@ -4,7 +4,6 @@
|
|||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
from cStringIO import StringIO
|
||||
|
||||
selection = set()
|
||||
dependencies = set()
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@ fi
|
|||
|
||||
if [ -n "${FLAKE8}" ]; then
|
||||
set -e
|
||||
${FLAKE8} --ignore=E,W --exclude='*_ui.py' *.py weboob modules contrib scripts/*
|
||||
${FLAKE8} --ignore=E,W --exclude='*_ui.py' *.py weboob modules contrib docs scripts/* tools/*.py
|
||||
else
|
||||
# grep will return 0 only if it founds something, but our script
|
||||
# wants to return 0 when it founds nothing!
|
||||
pyflakes *.py weboob modules contrib scripts/* | grep -v redefinition && exit 1 || exit 0
|
||||
pyflakes *.py weboob modules contrib docs scripts/* tools/*.py | grep -v redefinition && exit 1 || exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue