tests/test-check-pyflakes.t
changeset 2037 23b9c71caa70
parent 2033 16df79bbbe87
child 2038 a4b09789117a
equal deleted inserted replaced
2036:2d9e7b936ee1 2037:23b9c71caa70
    10   $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
    10   $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
    11   > | xargs pyflakes 2>/dev/null  
    11   > | xargs pyflakes 2>/dev/null  
    12 
    12 
    13 run flake8 if it exists; if it doesn't, then just skip
    13 run flake8 if it exists; if it doesn't, then just skip
    14 
    14 
    15   $ type flake8 >/dev/null 2>/dev/null && hg files -0 'glob:hgext3rd/**.py' | xargs -0 flake8 || true
    15   $ type flake8 >/dev/null 2>/dev/null && hg files -0 'glob:**.py' | xargs -0 flake8 || true