# HG changeset patch # User Pierre-Yves David # Date 1488474861 -3600 # Node ID de914b83310566bdf3a4522c2eedd107e26ee363 # Parent 851265d5adc22a63efadfdd4fc849ee5e526501e 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. diff -r 851265d5adc2 -r de914b833105 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