fix: suppress windows-footgun false positives in linter pattern list

The _POSIX_PRIMITIVES tuple holds search-pattern STRINGS the linter
greps for in skill scripts — 'os.setsid' / 'signal.SIGKILL' are data,
not calls. Add inline # windows-footgun: ok suppressions.
This commit is contained in:
Teknium 2026-08-08 10:54:47 -07:00
parent fce314eabd
commit 092ff2b9aa
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ _MARKETING_WORDS = (
_POSIX_PRIMITIVES = (
"fcntl",
"termios",
"os.setsid",
"signal.SIGKILL",
"os.setsid", # windows-footgun: ok (search-pattern string, not a call)
"signal.SIGKILL", # windows-footgun: ok (search-pattern string, not a call)
"osascript",
"/proc/",
"apt-get",