Skip to content

Commit ed8035a

Browse files
author
Błażej Sewera
committed
Change prepare-commit-msg to commit-msg
1 parent d3e7335 commit ed8035a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
entry: message-check
55
language: python
66
always_run: true
7-
stages: [prepare-commit-msg]
7+
stages: [commit-msg]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pre-commit-message-check-hook
22
=========================
33

4-
A prepare-commit-msg hook for pre-commit.
4+
A commit-msg hook for pre-commit.
55

66
See also: https://github.com/pre-commit/pre-commit
77
Credits for template: https://github.com/avilaton/add-msg-issue-prefix-hook
@@ -13,12 +13,12 @@ Add this to your `.pre-commit-config.yaml`
1313

1414
```yaml
1515
- 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
1717
hooks:
1818
- id: commit-message-check
1919
```
2020
2121
and install prepare-commit-msg hooks using
2222
```
23-
pre-commit install --hook-type prepare-commit-msg
23+
pre-commit install --hook-type commit-msg
2424
```

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = commit_message_check_hook
3-
version = 0.1.0
3+
version = 0.2.0
44
long_description = file: README.md
55
long_description_content_type = text/markdown
66
url = https://github.com/jazzsewera/pre-commit-message-check-hook

0 commit comments

Comments
 (0)