tests: run pyflake on all python files
We have fixed the handfull of error pyflakes found on evolve so we can setup
the test to prevent regression. Next stop flake8.
--- a/tests/test-check-pyflakes.t Thu Mar 02 18:13:57 2017 +0100
+++ b/tests/test-check-pyflakes.t Thu Mar 02 18:14:21 2017 +0100
@@ -7,7 +7,7 @@
run pyflakes on all tracked files ending in .py or without a file ending
(skipping binary file random-seed)
- $ hg locate 'set:hgext3rd/topic/**.py or grep("^!#.*python")' 2>/dev/null \
+ $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
> | xargs pyflakes 2>/dev/null
run flake8 if it exists; if it doesn't, then just skip