##// END OF EJS Templates
test: add pyflakes checking for unable to detect undefined names
test: add pyflakes checking for unable to detect undefined names

File last commit:

r14176:dea68bdd default
r14176:dea68bdd default
Show More
test-check-pyflakes.t
15 lines | 905 B | text/troff | Tads3Lexer
/ tests / test-check-pyflakes.t
$ "$TESTDIR/hghave" pyflakes || exit 80
$ cd $(dirname $TESTDIR)
$ pyflakes mercurial hgext 2>&1 | $TESTDIR/filterpyflakes.py
mercurial/hgweb/server.py:*: 'activeCount' imported but unused (glob)
mercurial/commands.py:*: 'base85' imported but unused (glob)
mercurial/commands.py:*: 'bdiff' imported but unused (glob)
mercurial/commands.py:*: 'mpatch' imported but unused (glob)
mercurial/commands.py:*: 'osutil' imported but unused (glob)
mercurial/revlog.py:*: 'short' imported but unused (glob)
hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)
mercurial/util.py:*: 'from posix import *' used; unable to detect undefined names (glob)
mercurial/windows.py:*: 'from win32 import *' used; unable to detect undefined names (glob)
mercurial/util.py:*: 'from windows import *' used; unable to detect undefined names (glob)