Mercurial > public > mercurial-scm > hg
diff tests/test-check-pyflakes.t @ 14140:82f0412ef7de
tests: add pyflakes checking for unused imports
author | timeless <timeless@mozdev.org> |
---|---|
date | Sun, 01 May 2011 15:22:30 +0200 |
parents | |
children | 419539ea79cb |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-check-pyflakes.t Sun May 01 15:22:30 2011 +0200 @@ -0,0 +1,11 @@ + $ "$TESTDIR/hghave" pyflakes || exit 80 + $ cd $(dirname $TESTDIR) + $ pyflakes mercurial hgext 2>&1 | sort | $TESTDIR/filterpyflakes.py + 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/hgweb/server.py:*: 'activeCount' imported but unused (glob) + mercurial/revlog.py:*: 'short' imported but unused (glob) + +