Skip to content

Commit c42dfd9

Browse files
committed
chore(pre-commit): add commitizen hook
1 parent 6c381bb commit c42dfd9

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.11.12
3+
rev: v0.12.0
44
hooks:
55
# Run the linter.
66
- id: ruff-check
@@ -13,7 +13,7 @@ repos:
1313
files: ^src/
1414

1515
- repo: https://github.com/pre-commit/mirrors-mypy
16-
rev: v1.15.0
16+
rev: v1.16.1
1717
hooks:
1818
# Run mypy type checking.
1919
- id: mypy
@@ -30,3 +30,9 @@ repos:
3030
types: [python]
3131
pass_filenames: false
3232
args: [ -v ]
33+
34+
- repo: https://github.com/commitizen-tools/commitizen
35+
rev: v4.8.3
36+
hooks:
37+
- id: commitizen
38+
stages: [commit-msg]

0 commit comments

Comments
 (0)