Mercurial > hg > mercurial-crew
view tests/test-check-pyflakes.t @ 28443:d713fa934fb9
buildrpm: move creation of RPM directories from dockerrpm
Handling the creation of the RPM directories in buildrpm
is more consistent and takes care of non-docker builds as well.
author | Mathias De Maré <mathias.demare@gmail.com> |
---|---|
date | Thu, 07 Jan 2016 06:44:37 +0100 |
parents | aef5b606d3ee |
children |
line wrap: on
line source
#require test-repo pyflakes $ 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'