diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:49:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:49:10 +0000 |
commit | a85f3954a8fe112640c2c35da3228be29b17c97c (patch) | |
tree | 7ee43f79639ee53903e7ca389e548974e1497c3a /.pre-commit-hooks.yaml | |
parent | Initial commit. (diff) | |
download | gitlint-1e1ae032984cf77885b458e0080a29ddc25f50b4.tar.xz gitlint-1e1ae032984cf77885b458e0080a29ddc25f50b4.zip |
Adding upstream version 0.18.0.upstream/0.18.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.pre-commit-hooks.yaml')
-rw-r--r-- | .pre-commit-hooks.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..24fd745 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,16 @@ +- 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] |