Refs #113.
- .pre-commit-config.yaml: every hook repo is pinned by commit SHA with the release in a
`# frozen:` comment, so a moved tag cannot change the code a hook environment is built from.
- requirements-dev.lock: hashed lock of requirements-dev.txt, installed with
`pip install --require-hashes` by scripts/dev-setup.sh, the ci image and the fallback
install of the Lint and Build workflows.
- scripts/lock-requirements.sh regenerates the lock; scripts/check_requirements_lock.py
(offline, a pre-commit hook) fails when it drifts from the direct pins.
- check_bot_pr_diff.py accepts a `rev:` line with a `# frozen:` comment and nothing else.
- ci image 0.2.16 -> 0.2.17 (image inputs changed).