diff --git a/docs/source/conf.py b/docs/source/conf.py index 7166b1ed..25fded29 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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 diff --git a/tools/debpydep.py b/tools/debpydep.py index 10cef35d..f2ce4fa6 100755 --- a/tools/debpydep.py +++ b/tools/debpydep.py @@ -4,7 +4,6 @@ import os import subprocess import sys -from cStringIO import StringIO selection = set() dependencies = set() diff --git a/tools/pyflakes.sh b/tools/pyflakes.sh index 121c1d2a..8f29661e 100755 --- a/tools/pyflakes.sh +++ b/tools/pyflakes.sh @@ -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