From 6bb668ec2a31c62fce59d1e22336e9c66d251986 Mon Sep 17 00:00:00 2001 From: itzzdev09 Date: Sat, 12 Sep 2026 13:26:46 +0530 Subject: [PATCH] test: drop the mypy platform pin in favour of a real fix `platform = "linux"` was a workaround for six Windows-only attribute errors on `fcntl` and `os.getuid`. Review pushed back, correctly: it makes local runs deterministic but checks no platform-specific branch under its own platform. #1301 fixes those six at the source and adds a workflow running mypy under --platform linux, darwin and win32, so the pin is no longer needed. Removing it here leaves this PR scoped to test assumptions and lets the two merge in either order. Co-Authored-By: Claude Opus 5 --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 19672d19..b78fb3aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,7 +104,6 @@ path = "scripts/tui_sidecar_hook.py" [tool.mypy] python_version = "3.12" -platform = "linux" strict = true strict_optional = true warn_redundant_casts = true