test-check-pyflakes.t
15 lines
| 506 B
| text/troff
|
Tads3Lexer
/ tests / test-check-pyflakes.t
|
r29138 | #require test-repo pyflakes hg10 | ||
|
r21208 | |||
|
r29219 | $ . "$TESTDIR/helpers-testrepo.sh" | ||
|
r16350 | $ cd "`dirname "$TESTDIR"`" | ||
|
r19377 | |||
run pyflakes on all tracked files ending in .py or without a file ending | ||||
(skipping binary file random-seed) | ||||
|
r21208 | |||
|
r33116 | $ syshg locate 'set:**.py or grep("^#!.*python")' \ | ||
> -X hgext/fsmonitor/pywatchman \ | ||||
|
r30894 | > -X mercurial/pycompat.py -X contrib/python-zstandard \ | ||
|
r29584 | > 2>/dev/null \ | ||
|
r19377 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" | ||
|
r32510 | tests/filterpyflakes.py:41: undefined name 'undefinedname' | ||
|
r22053 | |||