tests: run pyflake on all python files
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 02 Mar 2017 18:14:21 +0100
changeset 2027 de914b833105
parent 2026 851265d5adc2
child 2028 d7f31181ef90
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.
tests/test-check-pyflakes.t
--- 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