2014-08-06 20:53:08 +04:00
|
|
|
#require test-repo pyflakes
|
2014-05-01 18:42:23 +04:00
|
|
|
|
2012-04-03 21:06:35 +04:00
|
|
|
$ cd "`dirname "$TESTDIR"`"
|
2013-07-01 22:48:55 +04:00
|
|
|
|
|
|
|
run pyflakes on all tracked files ending in .py or without a file ending
|
|
|
|
(skipping binary file random-seed)
|
2014-05-01 18:42:23 +04:00
|
|
|
|
2014-05-02 09:23:58 +04:00
|
|
|
$ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
|
2013-07-01 22:48:55 +04:00
|
|
|
> | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
|
2014-05-14 04:22:40 +04:00
|
|
|
tests/filterpyflakes.py:58: undefined name 'undefinedname'
|
2014-08-06 21:16:58 +04:00
|
|
|
|
|
|
|
|