Skip to content

Commit 8f26cbe

Browse files
author
Vincent Legros
committed
feat: implement pre commit hooks and types
1 parent 287a5ab commit 8f26cbe

File tree

2 files changed

+134
-66
lines changed

2 files changed

+134
-66
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
default_language_version:
2-
python: python3.7
2+
python: python3.12
33
default_install_hook_types: [commit-msg]
44
repos:
55
- repo: https://github.com/commitizen-tools/commitizen
66
rev: v2.42.1
77
hooks:
88
- id: commitizen
9+
- repo: https://github.com/pre-commit/mirrors-mypy
10+
rev: v1.16.1
11+
hooks:
12+
- id: mypy
13+
- repo: https://github.com/psf/black-pre-commit-mirror
14+
rev: 25.1.0
15+
hooks:
16+
- id: black

0 commit comments

Comments
 (0)