Skip to content

Commit 104e06b

Browse files
committed
Install mypy using pre-commit
1 parent 191b9cd commit 104e06b

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
@@ -11,3 +11,9 @@ repos:
1111
- id: ruff
1212
args: [ --fix ]
1313
- id: ruff-format
14+
- repo: https://github.com/pre-commit/mirrors-mypy
15+
rev: v1.11.2
16+
hooks:
17+
- id: mypy
18+
args: [--strict, --ignore-missing-imports, "."]
19+
additional_dependencies: [tokenize-rt==6.0.0]

0 commit comments

Comments
 (0)