Mercurial > hg
view tests/test-check-pyflakes.t @ 29330:12c97985ddeb
check-code: make 'ls' pattern less invasive
I got false positive at "--tls smtps --certificate ...".
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 31 May 2016 21:49:49 +0900 |
parents | 3dad34e9d134 |
children | 06587edd1233 |
line wrap: on
line source
#require test-repo pyflakes hg10 $ . "$TESTDIR/helpers-testrepo.sh" $ cd "`dirname "$TESTDIR"`" run pyflakes on all tracked files ending in .py or without a file ending (skipping binary file random-seed) $ hg locate 'set:**.py or grep("^#!.*python")' 2>/dev/null \ > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" tests/filterpyflakes.py:61: undefined name 'undefinedname'