##// END OF EJS Templates
tests: run pyflakes on files from manifest which could be python files...
Simon Heimberg -
r19377:0cb996ee default
parent child Browse files
Show More
@@ -1,6 +1,30 b''
1 $ "$TESTDIR/hghave" pyflakes || exit 80
1 $ "$TESTDIR/hghave" pyflakes || exit 80
2 $ cd "`dirname "$TESTDIR"`"
2 $ cd "`dirname "$TESTDIR"`"
3 $ pyflakes mercurial hgext 2>&1 | "$TESTDIR/filterpyflakes.py"
3
4 run pyflakes on all tracked files ending in .py or without a file ending
5 (skipping binary file random-seed)
6 $ hg manifest 2>/dev/null | egrep "\.py$|^[^.]*$" | grep -v /random_seed$ \
7 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
8 contrib/simplemerge:*: 'os' imported but unused (glob)
9 contrib/win32/hgwebdir_wsgi.py:*: 'win32traceutil' imported but unused (glob)
10 setup.py:*: 'sha' imported but unused (glob)
11 setup.py:*: 'zlib' imported but unused (glob)
12 setup.py:*: 'bz2' imported but unused (glob)
13 setup.py:*: 'py2exe' imported but unused (glob)
14 tests/hghave.py:*: 'hgext' imported but unused (glob)
15 tests/hghave.py:*: '_lsprof' imported but unused (glob)
16 tests/hghave.py:*: 'publish_cmdline' imported but unused (glob)
17 tests/hghave.py:*: 'pygments' imported but unused (glob)
18 tests/hghave.py:*: 'ssl' imported but unused (glob)
19 contrib/casesmash.py:*: local variable 'inst' is assigned to but never used (glob)
20 contrib/check-code.py:*: local variable 'po' is assigned to but never used (glob)
21 contrib/hgfixes/fix_leftover_imports.py:*: local variable 'bare_names' is assigned to but never used (glob)
22 contrib/perf.py:*: local variable 'm' is assigned to but never used (glob)
23 contrib/perf.py:*: local variable 'c' is assigned to but never used (glob)
24 doc/hgmanpage.py:*: local variable 'backref_text' is assigned to but never used (glob)
25 tests/hghave.py:*: local variable 'err' is assigned to but never used (glob)
26 tests/test-hgweb-auth.py:*: local variable 'e' is assigned to but never used (glob)
27 contrib/win32/hgwebdir_wsgi.py:*: 'from isapi.install import *' used; unable to detect undefined names (glob)
4 hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)
28 hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)
5
29
6
30
General Comments 0
You need to be logged in to leave comments. Login now