Update mypy-dev to 1.12.0a3 (#124939)

* Update mypy-dev to 1.12.0a3

* Fix
This commit is contained in:
Marc Mueller
2024-08-31 19:34:41 +02:00
committed by GitHub
parent 994c2ebca1
commit 5cd8e4ab7e
3 changed files with 8 additions and 3 deletions

View File

@@ -175,7 +175,7 @@ def _enable_posix_spawn() -> None:
# less efficient. This is a workaround to force posix_spawn()
# when using musl since cpython is not aware its supported.
tag = next(packaging.tags.sys_tags())
subprocess._USE_POSIX_SPAWN = "musllinux" in tag.platform # noqa: SLF001
subprocess._USE_POSIX_SPAWN = "musllinux" in tag.platform # type: ignore[misc] # noqa: SLF001
def run(runtime_config: RuntimeConfig) -> int: