comparison tests/test-check-pyflakes.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 2895b026ba88
children 0e397aeee55b
comparison
equal deleted inserted replaced
5336:2895b026ba88 5337:f354de498737
8 (skipping binary file random-seed) 8 (skipping binary file random-seed)
9 9
10 $ hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' \ 10 $ hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' \
11 > -X hgext3rd/evolve/thirdparty \ 11 > -X hgext3rd/evolve/thirdparty \
12 > 2>/dev/null \ 12 > 2>/dev/null \
13 > | xargs -0 pyflakes 2>/dev/null 13 > | xargs -0 "$PYTHON" -m pyflakes 2>/dev/null