diff scripts/run-all-cleanup @ 8240:51af7c12ffb1

cleanup: run pyflakes as a part of scripts/run-all-cleanup pyflakes has no usable configuration options, so create a small wrapper script. Instead of having two wrapper scripts (with one being almost nothing and the other containing configuration), just keep it simple and use one combined.
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 11 Feb 2020 05:17:03 +0100
parents 40edadecda69
children 8d663d23ab85
line wrap: on
line diff
--- a/scripts/run-all-cleanup	Sun Feb 09 19:46:43 2020 +0100
+++ b/scripts/run-all-cleanup	Tue Feb 11 05:17:03 2020 +0100
@@ -8,3 +8,5 @@
 scripts/docs-headings.py
 scripts/generate-ini.py
 scripts/whitespacecleanup.sh
+
+hg loc 'set:!binary()&grep("^#!.*python")' '*.py' | xargs scripts/pyflakes