Skip to content

Commit 5cf8c0d

Browse files
authored
Merge pull request #133 from Lee-W/set-pre-commit-hook
Set pre commit hook
2 parents 6280d92 + b82d813 commit 5cf8c0d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
entry: cz check --commit-msg-file
55
language: python
66
language_version: python3
7+
stages: [commit-msg]
78
require_serial: true
89
minimum_pre_commit_version: "0.15.4"

docs/check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ python -m pip install pre-commit
1515

1616
```yaml
1717
- repo: https://github.com/Woile/commitizen
18-
rev: 1.13.1
18+
rev: master
1919
hooks:
2020
- id: commitizen
2121
```

0 commit comments

Comments
 (0)