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 <noreply@anthropic.com>
This commit is contained in:
itzzdev09 2026-09-12 13:26:46 +05:30
parent 1cc815f5b6
commit 6bb668ec2a

View file

@ -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