Skip to content

Commit 62678e7

Browse files
adamtheturtleclaude
andcommitted
Bump mypy to 2.0.0 and enable parallel checking
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 101b9a5 commit 62678e7

2 files changed

Lines changed: 4 additions & 3 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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ optional-dependencies.dev = [
6464
"freezegun==1.5.5",
6565
"furo==2025.12.19",
6666
"interrogate==1.7.0",
67-
"mypy[faster-cache]==1.20.2",
67+
"mypy[faster-cache]==2.0.0",
6868
"mypy-strict-kwargs==2026.1.12",
6969
"prek==0.3.11",
7070
"pydocstringformatter==0.7.5",

0 commit comments

Comments
 (0)