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:
parent
fce314eabd
commit
092ff2b9aa
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue