##// END OF EJS Templates
subrepo: add test whether "[paths]" is configured correctly at subrepo creation...
subrepo: add test whether "[paths]" is configured correctly at subrepo creation This test is added for changes in the subsequent patch. This test doesn't use "(glob)" for expected output, because "[paths]" is configured at subrepo creation by "_abssource()" using "posixpath.join()" to join path components.

File last commit:

r21293:507ce509 default
r21890:0f916db7 default
Show More
test-check-pyflakes.t
22 lines | 984 B | text/troff | Tads3Lexer
/ tests / test-check-pyflakes.t
Matt Mackall
tests: add repository check for pyflakes test...
r21208 #if test-repo pyflakes
Thomas Arendsen Hein
tests: make tests work if directory contains special characters...
r16350 $ cd "`dirname "$TESTDIR"`"
Simon Heimberg
tests: run pyflakes on files from manifest which could be python files...
r19377
run pyflakes on all tracked files ending in .py or without a file ending
(skipping binary file random-seed)
Matt Mackall
tests: add repository check for pyflakes test...
r21208
Matt Mackall
tests: use locate to find files for pyflakes check...
r21221 $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
Simon Heimberg
tests: run pyflakes on files from manifest which could be python files...
r19377 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
contrib/win32/hgwebdir_wsgi.py:*: 'win32traceutil' imported but unused (glob)
setup.py:*: 'sha' imported but unused (glob)
setup.py:*: 'zlib' imported but unused (glob)
setup.py:*: 'bz2' imported but unused (glob)
setup.py:*: 'py2exe' imported but unused (glob)
tests/hghave.py:*: '_lsprof' imported but unused (glob)
tests/hghave.py:*: 'publish_cmdline' imported but unused (glob)
tests/hghave.py:*: 'pygments' imported but unused (glob)
tests/hghave.py:*: 'ssl' imported but unused (glob)
Matt Mackall
tests: fix unused imports from inotify removal caught by pyflakes
r20644 contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob)
Matt Mackall
filterpyflakes: make memoryview filtering unconditional
r21293 tests/filterpyflakes.py:58: undefined name 'undefinedname'
timeless
tests: add pyflakes checking for unused imports
r14140
Matt Mackall
tests: add repository check for pyflakes test...
r21208 #endif