Skip to content

Commit cdcc732

Browse files
committed
add mypy to precommit
Signed-off-by: Hao Wu <[email protected]>
1 parent fcd5b01 commit cdcc732

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ repos:
3232
args: ["check", "--select", "I", "--fix"]
3333
- id: ruff-format
3434

35+
- repo: https://github.com/pre-commit/mirrors-mypy
36+
rev: v1.14.0
37+
hooks:
38+
- id: mypy
39+
exclude: ^docs|^tests|^benchmarks|^docker
40+
3541
- repo: local
3642
hooks:
3743
- id: no-underscore-md

0 commit comments

Comments
 (0)