Mercurial > evolve
comparison tests/test-check-flake8.t @ 5337:f354de498737
tests: actually use the correct python version for flake8/pyflakes
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 24 May 2020 13:07:44 +0800 |
parents | b3dbba6e34c9 |
children | 6a50faea786d |
comparison
equal
deleted
inserted
replaced
5336:2895b026ba88 | 5337:f354de498737 |
---|---|
15 run flake8 if it exists; if it doesn't, then just skip | 15 run flake8 if it exists; if it doesn't, then just skip |
16 | 16 |
17 $ hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' \ | 17 $ hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' \ |
18 > -X hgext3rd/evolve/thirdparty \ | 18 > -X hgext3rd/evolve/thirdparty \ |
19 > 2>/dev/null \ | 19 > 2>/dev/null \ |
20 > | xargs -0 flake8 | 20 > | xargs -0 "$PYTHON" -m flake8 |