view scripts/run-all-cleanup @ 8339:65b0d79ff293

setup: install pip in virtualenv to make sure we have the latest version Older versions are good enough for bootstrapping (and might also be good for everything else) but gives: WARNING: You are using pip version 19.3.1; however, version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. The user might still get this warning initially, but then it goes away ...
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 10 Apr 2020 16:54:50 +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"