From 76173ba8cd18ef10b0cf9366346d9e794e55ce94 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Tue, 28 Jul 2026 12:24:28 -0700 Subject: [PATCH] lint: suppress windows-footgun false positive on POSIX-gated os.kill probe --- plugins/platforms/photon/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/platforms/photon/adapter.py b/plugins/platforms/photon/adapter.py index 39f27db22920..60d74de41e2a 100644 --- a/plugins/platforms/photon/adapter.py +++ b/plugins/platforms/photon/adapter.py @@ -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: