tests/test-check-pyflakes.t
branchstable
changeset 2259 94432e742a02
parent 2121 01ee3e155726
child 4333 824fcba2cdb4
equal deleted inserted replaced
1814:efda653c96a7 2259:94432e742a02
       
     1 #require test-repo pyflakes
       
     2 
       
     3 Copied from Mercurial core (60ee2593a270)
       
     4 
       
     5   $ cd "`dirname "$TESTDIR"`"
       
     6 
       
     7 run pyflakes on all tracked files ending in .py or without a file ending
       
     8 (skipping binary file random-seed)
       
     9 
       
    10   $ hg locate 'set:(**.py or grep("^#!.*python")) - removed()' 2>/dev/null \
       
    11   > | xargs pyflakes 2>/dev/null