diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -68,6 +68,16 @@ source = dateutil skip_covered = True show_missing = True +[testenv:precommit] +description = Run the pre-commit hooks on all files +passenv = + PRE_COMMIT* +deps = + pre-commit +commands = + pre-commit install -f --install-hooks + pre-commit run --all-files + [testenv:tz] # Warning: This will modify the repository and is only intended to be run # as part of the CI process, not locally. |