A framework for managing and maintaining multi-language pre-commit hooks.
Find a file
helly25 689f1203f7
When run is called with -v, then show hook.description if available.
When developers run the pre-commit, they don't always understand what to or where to find more information. The hook description field is already present and often used to provide more descriptive information. For brevity this is not shown in normal cases, but this PR changes the tool behavior to show the description in verbose mode (`-v`). So most users won't see any difference but this can easily be enabled for people who want it.

Alternatives considered:
* Always show the description: Some people may not like this though as it can be spammy.
* Provide a new field: Possible but seems to be just more work with description already present and not otherwise used.
* Show the `repo` link. This is at the wrong level and has a slightly different purpose. Though description can just be set to the same url where that is correct.
2024-04-25 09:10:44 +00:00
.github Address deprecation warning in shutil.rmtree(onerror=...) 2023-12-09 14:51:01 -05:00
pre_commit When run is called with -v, then show hook.description if available. 2024-04-25 09:10:44 +00:00
testing When run is called with -v, then show hook.description if available. 2024-04-25 09:10:44 +00:00
tests When run is called with -v, then show hook.description if available. 2024-04-25 09:10:44 +00:00
.gitignore When run is called with -v, then show hook.description if available. 2024-04-25 09:10:44 +00:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2024-04-08 22:08:29 +00:00
.pre-commit-hooks.yaml deprecate pre-commit-validate-{config,manifest} 2022-04-24 19:08:47 -04:00
CHANGELOG.md v3.7.0 2024-03-24 13:37:19 -04:00
CONTRIBUTING.md fix typo in CONTRIBUTING.md 2023-08-14 11:00:17 +01:00
LICENSE MIT 2014-06-05 08:57:40 -07:00
README.md azure pipelines -> github actions 2022-12-29 22:18:31 -05:00
requirements-dev.txt always use #!/bin/sh on windows 2022-01-05 13:22:49 -05:00
setup.cfg v3.7.0 2024-03-24 13:37:19 -04:00
setup.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
tox.ini show 20 slowest durations in CI 2023-03-09 11:00:31 -05:00

build status pre-commit.ci status

pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

For more information see: https://pre-commit.com/