lint: suppress windows-footgun false positive on POSIX-gated os.kill probe

This commit is contained in:
Teknium 2026-07-28 12:24:28 -07:00
parent f041c95b7f
commit 76173ba8cd

View file

@ -162,7 +162,7 @@ def _sidecar_pid_alive(pid: Any) -> bool:
pass
if os.name == "posix":
try:
os.kill(pid_int, 0)
os.kill(pid_int, 0) # windows-footgun: ok — inside os.name == "posix" guard
except ProcessLookupError:
return False
except PermissionError: