tests/test-check-pyflakes.t
author timeless <timeless@mozdev.org>
Fri, 22 Jan 2016 20:32:47 +0000
branchstable
changeset 27932 6bc2299cc12f
parent 27285 aef5b606d3ee
child 29138 a29f071751df
permissions -rw-r--r--
rebase: restore help for rebase w/o args (issue5059) Restoring documentation accidentally removed in a9a047878e14.

#require test-repo pyflakes

  $ cd "`dirname "$TESTDIR"`"

run pyflakes on all tracked files ending in .py or without a file ending
(skipping binary file random-seed)

  $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
  > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
  tests/filterpyflakes.py:61: undefined name 'undefinedname'