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