Skip to content

Commit 49550db

Browse files
Normalize mypy docs pre-commit worker flag style.
Keep `mypy-docs` aligned with `mypy` by keeping `--num-workers=4` inline in the mypy command argument. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 15aef7d commit 49550db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ repos:
168168
- id: mypy-docs
169169
name: mypy-docs
170170
stages: [pre-push]
171-
entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="mypy
172-
--num-workers=4"
171+
entry: uv run --extra=dev doccmd --no-write-to-file --language=python
172+
args: [--command=mypy --num-workers=4]
173173
language: python
174174
types_or: [markdown, rst]
175175
additional_dependencies:

0 commit comments

Comments
 (0)