tests/test-check-pyflakes.t
author Andreas Freimuth <andreas.freimuth@united-bits.de>
Mon, 10 Oct 2011 13:52:54 +0200
changeset 15217 42d0d4f63bf0
parent 14985 dbf91976f900
child 15223 fc035e5370ca
permissions -rw-r--r--
wireproto: do not call pushkey module directly (issue3041) Call the repos pushkey/listkeys member function instead. So the pushkey-hooks are triggered.

  $ "$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)
  hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)