view scripts/run-all-cleanup @ 8772:52816813cbec

docs: describe, visualize, and verify internal code structure and layering Try to describe something that isn't entirely there yet. deps.py will help track and minimize violations through checks and visualization in deps.svg .
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 13 Nov 2020 01:04:30 +0100
parents f8971422795e
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"