view scripts/run-all-cleanup @ 8954:136c26383dea stable

i18n: avoid '{0} → {1}' markup in translated strings
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 12 Dec 2022 21:01:00 +0100
parents 52816813cbec
children
line wrap: on
line source

#!/bin/sh

# Convenience script for running various idempotent source code cleanup scripts

set -e
set -x

hg files 'set:!binary()&grep("^#!.*python")' 'set:**.py' | xargs scripts/deps.py
dot -Tsvg deps.dot > deps.svg

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"