tests/test-check-pyflakes.t
changeset 2121 01ee3e155726
parent 2107 42f3329aa144
child 4333 824fcba2cdb4
equal deleted inserted replaced
2120:e38156312410 2121:01ee3e155726
     5   $ cd "`dirname "$TESTDIR"`"
     5   $ cd "`dirname "$TESTDIR"`"
     6 
     6 
     7 run pyflakes on all tracked files ending in .py or without a file ending
     7 run pyflakes on all tracked files ending in .py or without a file ending
     8 (skipping binary file random-seed)
     8 (skipping binary file random-seed)
     9 
     9 
    10   $ hg locate 'set:(**.py or grep("^!#.*python")) - removed()' 2>/dev/null \
    10   $ hg locate 'set:(**.py or grep("^#!.*python")) - removed()' 2>/dev/null \
    11   > | xargs pyflakes 2>/dev/null
    11   > | xargs pyflakes 2>/dev/null