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