summaryrefslogtreecommitdiffstats
path: root/.pre-commit-hooks.yaml
diff options
context:
space:
mode:
authorJoris Roovers <joris.roovers@gmail.com>2022-08-24 08:14:07 +0000
committerJoris Roovers <joris.roovers@gmail.com>2022-08-24 08:14:07 +0000
commitf487d3217c2eb5446141e6d7bccfa3ca00a878a9 (patch)
treef48a7e64604416926f41cc80c6f1c50aef9786ea /.pre-commit-hooks.yaml
parente00fc0f34ae901acccd38ff92b629d9bf6a95820 (diff)
Add description to gitlint pre-commit hook
This should show up on the pre-commit hooks website. Also fixed the yaml formatting to use 2 spaces (instead of 4).
Diffstat (limited to '.pre-commit-hooks.yaml')
-rw-r--r--.pre-commit-hooks.yaml15
1 files changed, 8 insertions, 7 deletions
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
index f2ccc7f..d65c163 100644
--- a/.pre-commit-hooks.yaml
+++ b/.pre-commit-hooks.yaml
@@ -1,7 +1,8 @@
-- id: gitlint
- name: gitlint
- language: python
- additional_dependencies: ["./gitlint-core[trusted-deps]"]
- entry: gitlint
- args: [--staged, --msg-filename]
- stages: [commit-msg]
+- id: gitlint
+ name: gitlint
+ description: Checks your git commit messages for style.
+ language: python
+ additional_dependencies: ["./gitlint-core[trusted-deps]"]
+ entry: gitlint
+ args: [--staged, --msg-filename]
+ stages: [commit-msg]