view 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 source

  $ "$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)