Skip to content

Commit 86aeea8

Browse files
authored
Merge pull request #540 from chrisburr/pre-commit-improvements
Check for conventional commit messages
2 parents fcced00 + 01a32f4 commit 86aeea8

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
3+
default_install_hook_types:
4+
- pre-commit
5+
- commit-msg
6+
37
default_language_version:
48
python: python3
59

10+
default_stages: [pre-commit]
11+
612
repos:
13+
- repo: https://github.com/compilerla/conventional-pre-commit
14+
rev: v4.2.0
15+
hooks:
16+
- id: conventional-pre-commit
17+
stages: [commit-msg]
18+
args: ["--verbose"]
19+
720
- repo: https://github.com/pre-commit/pre-commit-hooks
821
rev: v5.0.0
922
hooks:

0 commit comments

Comments
 (0)