test-check-pyflakes.t
12 lines
| 361 B
| text/troff
|
Tads3Lexer
/ tests / test-check-pyflakes.t
Matt Mackall
|
r22047 | #require test-repo pyflakes | ||
Matt Mackall
|
r21208 | |||
Thomas Arendsen Hein
|
r16350 | $ cd "`dirname "$TESTDIR"`" | ||
Simon Heimberg
|
r19377 | |||
run pyflakes on all tracked files ending in .py or without a file ending | ||||
(skipping binary file random-seed) | ||||
Matt Mackall
|
r21208 | |||
Matt Mackall
|
r21221 | $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \ | ||
Simon Heimberg
|
r19377 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" | ||
Matt Mackall
|
r21293 | tests/filterpyflakes.py:58: undefined name 'undefinedname' | ||
Matt Mackall
|
r22053 | |||