File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
entry : message-check
5
5
language : python
6
6
always_run : true
7
- stages : [prepare- commit-msg]
7
+ stages : [commit-msg]
Original file line number Diff line number Diff line change 1
1
pre-commit-message-check-hook
2
2
=========================
3
3
4
- A prepare- commit-msg hook for pre-commit.
4
+ A commit-msg hook for pre-commit.
5
5
6
6
See also: https://github.com/pre-commit/pre-commit
7
7
Credits for template: https://github.com/avilaton/add-msg-issue-prefix-hook
@@ -13,12 +13,12 @@ Add this to your `.pre-commit-config.yaml`
13
13
14
14
``` yaml
15
15
- repo : https://github.com/jazzsewera/pre-commit-message-check-hook
16
- rev : v0.1 .0 # Use the ref you want to point at
16
+ rev : v0.2 .0 # Use the ref you want to point at
17
17
hooks :
18
18
- id : commit-message-check
19
19
` ` `
20
20
21
21
and install prepare-commit-msg hooks using
22
22
` ` `
23
- pre-commit install --hook-type prepare- commit-msg
23
+ pre-commit install --hook-type commit-msg
24
24
```
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = commit_message_check_hook
3
- version = 0.1 .0
3
+ version = 0.2 .0
4
4
long_description = file: README.md
5
5
long_description_content_type = text/markdown
6
6
url = https://github.com/jazzsewera/pre-commit-message-check-hook
You can’t perform that action at this time.
0 commit comments