diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 512b4054..3a74bb54 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -184,20 +184,22 @@ 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 additional_dependencies: - *uv_version - # We do not use --example-workers 0 due to https://github.com/python/mypy/issues/18283 - 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] + additional_dependencies: + - *uv_version - id: check-manifest name: check-manifest