Show More
@@ -1,15 +1,14 | |||
|
1 | 1 | #require test-repo pyflakes hg10 |
|
2 | 2 | |
|
3 | 3 | $ . "$TESTDIR/helpers-testrepo.sh" |
|
4 | 4 | $ cd "`dirname "$TESTDIR"`" |
|
5 | 5 | |
|
6 | 6 | run pyflakes on all tracked files ending in .py or without a file ending |
|
7 | 7 | (skipping binary file random-seed) |
|
8 | 8 | |
|
9 | 9 | $ hg locate 'set:**.py or grep("^#!.*python")' -X hgext/fsmonitor/pywatchman \ |
|
10 | > -X mercurial/pycompat.py \ | |
|
10 | > -X mercurial/pycompat.py -X contrib/python-zstandard \ | |
|
11 | 11 | > 2>/dev/null \ |
|
12 | 12 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" |
|
13 | contrib/python-zstandard/tests/test_data_structures.py:107: local variable 'size' is assigned to but never used | |
|
14 | 13 | tests/filterpyflakes.py:39: undefined name 'undefinedname' |
|
15 | 14 |
General Comments 0
You need to be logged in to leave comments.
Login now