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
|
|
@ -11,7 +11,7 @@
|
|||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import sys, os
|
||||
import os
|
||||
|
||||
os.system('./genapi.py')
|
||||
|
||||
|
|
@ -174,8 +174,8 @@ htmlhelp_basename = 'Weboobdoc'
|
|||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||
latex_documents = [
|
||||
('index', 'Weboob.tex', u'Weboob Documentation',
|
||||
u'Weboob Team', 'manual'),
|
||||
('index', 'Weboob.tex', u'Weboob Documentation',
|
||||
u'Weboob Team', 'manual'),
|
||||
]
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
|
|
|
|||
|
|
@ -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