Files @ 33f1faa7fe04
Branch filter:

Location: kallithea/scripts/run-all-cleanup

mads
setup: bump Sphinx version

Sphinx 3.0.4 doesn't version its dependencies correctly, and it fails with latest jinja 3.1.2:
ImportError: cannot import name 'environmentfilter' from 'jinja2' (.../site-packages/jinja2/__init__.py)

Latest Sphinx version supports latest Jinja version and seems to render the
documentation correctly.
#!/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"