tests/test-check-pyflakes.t
author Bryan O'Sullivan <bos@serpentine.com>
Thu, 07 Jan 2016 20:02:47 -0800
changeset 27697 0ce0cfee497f
parent 27285 aef5b606d3ee
child 29138 a29f071751df
permissions -rw-r--r--
patchbomb: treat empty address list as no addresses Previously it wasn't possible to use configuration to avoid being prompted for e.g. a CC list when using patchbomb to send emails. We now make it possible to supply an empty value.

#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'