Skip to content

Commit ce06848

Browse files
authored
chore: use dmypy instead of mypy in pre-commit (#1023)
1 parent 854f0cd commit ce06848

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ examples/**/eval_*
2121

2222
/.vscode
2323
/*.session.sql
24+
25+
# mypy daemon environment
26+
.dmypy.json

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ repos:
4949

5050
- id: mypy-check
5151
name: mypy type check
52-
entry: mypy --cache-fine-grain
52+
entry: dmypy run python
5353
language: system
5454
types: [python]
5555
pass_filenames: false

0 commit comments

Comments
 (0)