diff options
author | Paul Ganssle <1377457+pganssle@users.noreply.github.com> | 2022-12-03 15:07:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 15:07:04 -0500 |
commit | b04edc08aa3559063b3b097f437941d8c4b84aba (patch) | |
tree | 174b2ef9fbd215ad01d123df9034d138a9de3f57 /tox.ini | |
parent | e8151c15172620d8d55e410f9297564368c886bf (diff) | |
parent | c73a9b183ff0aa2ab2ac8c7c52b61ac6081b6eed (diff) | |
download | dateutil-git-b04edc08aa3559063b3b097f437941d8c4b84aba.tar.gz |
Add pre commit
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. |