equal
deleted
inserted
replaced
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 |