test-check-pyflakes.t
13 lines
| 403 B
| text/troff
|
Tads3Lexer
/ tests / test-check-pyflakes.t
timeless
|
r29138 | #require test-repo pyflakes hg10 | ||
Matt Mackall
|
r21208 | |||
timeless
|
r29219 | $ . "$TESTDIR/helpers-testrepo.sh" | ||
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 | |||
Yuya Nishihara
|
r29232 | $ hg locate 'set:**.py or grep("^#!.*python")' 2>/dev/null \ | ||
Simon Heimberg
|
r19377 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" | ||
Gregory Szorc
|
r27285 | tests/filterpyflakes.py:61: undefined name 'undefinedname' | ||
Matt Mackall
|
r22053 | |||