view scripts/run-all-cleanup @ 8682:d332fca29474

config: move various py templates to kallithea/templates/py/ For some reason, we had some python templates in kallithea/config . kallithea.config is mainly the TG entry point, and thus a high level controller thing - not a place to store templates. Instead, use the templates directory and introduce a new py subdirectory. With git hook templates in a templates directory, there is no need for tmpl in the name.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 10 Oct 2020 21:05:12 +0200
parents 8d663d23ab85
children 0a84ef075575
line wrap: on
line source

#!/bin/sh

# Convenience script for running various idempotent source code cleanup scripts

set -e
set -x

scripts/docs-headings.py
scripts/generate-ini.py
scripts/whitespacecleanup.sh

hg loc 'set:!binary()&grep("^#!.*python")' '*.py' | xargs scripts/pyflakes
echo "no blocking problems found by $0"