flake8: run on all python file
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 02 Mar 2017 20:24:17 +0100
changeset 2037 23b9c71caa70
parent 2036 2d9e7b936ee1
child 2038 a4b09789117a
flake8: run on all python file We can now run it on all file in the repository to catch potential regression.
tests/test-check-pyflakes.t
--- a/tests/test-check-pyflakes.t	Thu Mar 02 20:23:45 2017 +0100
+++ b/tests/test-check-pyflakes.t	Thu Mar 02 20:24:17 2017 +0100
@@ -12,4 +12,4 @@
 
 run flake8 if it exists; if it doesn't, then just skip
 
-  $ type flake8 >/dev/null 2>/dev/null && hg files -0 'glob:hgext3rd/**.py' | xargs -0 flake8 || true
+  $ type flake8 >/dev/null 2>/dev/null && hg files -0 'glob:**.py' | xargs -0 flake8 || true