Spaces:
Running
Running
zach
commited on
Commit
·
4431e79
1
Parent(s):
91332c2
Add mypy type checking to pre-commit hook
Browse files- .pre-commit-config.yaml +7 -0
.pre-commit-config.yaml
CHANGED
@@ -5,3 +5,10 @@ repos:
|
|
5 |
- id: ruff
|
6 |
args: ["--fix"]
|
7 |
types: [python]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
- id: ruff
|
6 |
args: ["--fix"]
|
7 |
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]
|