summaryrefslogtreecommitdiffstats
path: root/.pre-commit-hooks.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-19 14:52:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-19 14:52:46 +0000
commita2aa51f5702b18016c25d943499941323952704d (patch)
tree7ee43f79639ee53903e7ca389e548974e1497c3a /.pre-commit-hooks.yaml
parentAdding upstream version 0.17.0. (diff)
downloadgitlint-a2aa51f5702b18016c25d943499941323952704d.tar.xz
gitlint-a2aa51f5702b18016c25d943499941323952704d.zip
Adding upstream version 0.18.0.upstream/0.18.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.pre-commit-hooks.yaml')
-rw-r--r--.pre-commit-hooks.yaml23
1 files changed, 16 insertions, 7 deletions
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
index f2ccc7f..24fd745 100644
--- a/.pre-commit-hooks.yaml
+++ b/.pre-commit-hooks.yaml
@@ -1,7 +1,16 @@
-- 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]
+- id: gitlint-ci
+ name: gitlint
+ language: python
+ additional_dependencies: ["./gitlint-core[trusted-deps]"]
+ entry: gitlint
+ always_run: true
+ pass_filenames: false
+ stages: [manual]