Show More
@@ -1,20 +1,22 b'' | |||||
1 | #require test-repo pyflakes |
|
1 | #require test-repo pyflakes | |
2 |
|
2 | |||
3 | $ cd "`dirname "$TESTDIR"`" |
|
3 | $ cd "`dirname "$TESTDIR"`" | |
4 |
|
4 | |||
5 | run pyflakes on all tracked files ending in .py or without a file ending |
|
5 | run pyflakes on all tracked files ending in .py or without a file ending | |
6 | (skipping binary file random-seed) |
|
6 | (skipping binary file random-seed) | |
7 |
|
7 | |||
8 | $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \ |
|
8 | $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \ | |
9 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" |
|
9 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" | |
10 | contrib/win32/hgwebdir_wsgi.py:*: 'win32traceutil' imported but unused (glob) |
|
10 | contrib/win32/hgwebdir_wsgi.py:*: 'win32traceutil' imported but unused (glob) | |
11 | setup.py:*: 'sha' imported but unused (glob) |
|
11 | setup.py:*: 'sha' imported but unused (glob) | |
12 | setup.py:*: 'zlib' imported but unused (glob) |
|
12 | setup.py:*: 'zlib' imported but unused (glob) | |
13 | setup.py:*: 'bz2' imported but unused (glob) |
|
13 | setup.py:*: 'bz2' imported but unused (glob) | |
14 | setup.py:*: 'py2exe' imported but unused (glob) |
|
14 | setup.py:*: 'py2exe' imported but unused (glob) | |
15 | tests/hghave.py:*: '_lsprof' imported but unused (glob) |
|
15 | tests/hghave.py:*: '_lsprof' imported but unused (glob) | |
16 | tests/hghave.py:*: 'publish_cmdline' imported but unused (glob) |
|
16 | tests/hghave.py:*: 'publish_cmdline' imported but unused (glob) | |
17 | tests/hghave.py:*: 'pygments' imported but unused (glob) |
|
17 | tests/hghave.py:*: 'pygments' imported but unused (glob) | |
18 | tests/hghave.py:*: 'ssl' imported but unused (glob) |
|
18 | tests/hghave.py:*: 'ssl' imported but unused (glob) | |
19 | contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob) |
|
19 | contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob) | |
20 | tests/filterpyflakes.py:58: undefined name 'undefinedname' |
|
20 | tests/filterpyflakes.py:58: undefined name 'undefinedname' | |
|
21 | ||||
|
22 |
General Comments 0
You need to be logged in to leave comments.
Login now