changeset 2027:de914b833105

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.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 02 Mar 2017 18:14:21 +0100
parents 851265d5adc2
children d7f31181ef90
files tests/test-check-pyflakes.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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