summaryrefslogtreecommitdiffstats
path: root/.pre-commit-hooks.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-hooks.yaml')
-rw-r--r--.pre-commit-hooks.yaml21
1 files changed, 16 insertions, 5 deletions
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
index 5b3d51a..24fd745 100644
--- a/.pre-commit-hooks.yaml
+++ b/.pre-commit-hooks.yaml
@@ -1,5 +1,16 @@
-- id: gitlint
- name: gitlint
- language: python
- entry: gitlint --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]
+- id: gitlint-ci
+ name: gitlint
+ language: python
+ additional_dependencies: ["./gitlint-core[trusted-deps]"]
+ entry: gitlint
+ always_run: true
+ pass_filenames: false
+ stages: [manual]