Skip to content

Commit 4431e79

Browse files
committed
Add mypy type checking to pre-commit hook
1 parent 91332c2 commit 4431e79

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ repos:
55
- id: ruff
66
args: ["--fix"]
77
types: [python]
8+
9+
- repo: https://github.com/pre-commit/mirrors-mypy
10+
rev: v1.15.0
11+
hooks:
12+
- id: mypy
13+
args: ["--ignore-missing-imports"]
14+
types: [python]

0 commit comments

Comments
 (0)