view scripts/run-all-cleanup @ 8792:911669ac48a5

vcs: drop repo contact ... and the odd uses of it A half-baked and essentially unused hgweb feature. The reference in get_commits_stats doesn't seem reachable in any relevant use cases.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 12 Nov 2020 18:56:53 +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"