test-check-pyflakes.t
14 lines
| 497 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 | |||
Zack Hricz
|
r30655 | $ hg locate 'set:**.py or grep("^#!.*python")' -X hgext/fsmonitor/pywatchman \ | ||
Augie Fackler
|
r30894 | > -X mercurial/pycompat.py -X contrib/python-zstandard \ | ||
Pulkit Goyal
|
r29584 | > 2>/dev/null \ | ||
Simon Heimberg
|
r19377 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" | ||
Augie Fackler
|
r30421 | tests/filterpyflakes.py:39: undefined name 'undefinedname' | ||
Matt Mackall
|
r22053 | |||