diff scripts/run-all-cleanup @ 8771:f8971422795e

scripts: introduce source_format.py to fix up the module name in file headers
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 07 Nov 2020 02:29:41 +0100
parents 0a84ef075575
children 52816813cbec
line wrap: on
line diff
--- a/scripts/run-all-cleanup	Sun Oct 11 10:13:25 2020 +0200
+++ b/scripts/run-all-cleanup	Sat Nov 07 02:29:41 2020 +0100
@@ -8,6 +8,7 @@
 scripts/docs-headings.py
 scripts/generate-ini.py
 scripts/whitespacecleanup.sh
+hg files 'set:!binary()&grep("^#!.*python")' 'set:**.py' | xargs scripts/source_format.py
 
 hg files 'set:!binary()&grep("^#!.*python")' 'set:**.py' | xargs scripts/pyflakes
 echo "no blocking problems found by $0"