When I run python runtests.py in a freshly created venv where I've installed test-requirements.txt, I get this error:
FileNotFoundError: [Errno 2] No such file or directory: 'pre-commit'
pip install pre-commit fixes this, but I think we should install it automatically in test-requirements.txt.