diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1dd0c9199..b32a7bd0f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -174,7 +174,7 @@ repos: - id: mypy name: mypy stages: [pre-push] - entry: uv run --extra=dev -m mypy + entry: uv run --extra=dev -m mypy --num-workers=4 language: python types_or: [python, toml] pass_filenames: false @@ -185,7 +185,8 @@ repos: - id: mypy-docs name: mypy-docs stages: [pre-push] - entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="mypy" + entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="mypy + --num-workers=4" language: python types_or: [markdown, rst]