Skip to content

Commit c99014d

Browse files
Bump mypy to 2.0.0 and enable parallel checking (#3146)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 558cae3 commit c99014d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ repos:
174174
- id: mypy
175175
name: mypy
176176
stages: [pre-push]
177-
entry: uv run --extra=dev -m mypy
177+
entry: uv run --extra=dev -m mypy --num-workers=4
178178
language: python
179179
types_or: [python, toml]
180180
pass_filenames: false
@@ -185,7 +185,8 @@ repos:
185185
- id: mypy-docs
186186
name: mypy-docs
187187
stages: [pre-push]
188-
entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="mypy"
188+
entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="mypy
189+
--num-workers=4"
189190
language: python
190191
types_or: [markdown, rst]
191192

0 commit comments

Comments
 (0)