From 9d262d7701f45863f31d636ea391409ef2c707dc Mon Sep 17 00:00:00 2001 From: SentienceDEV Date: Wed, 25 Feb 2026 18:45:57 -0800 Subject: [PATCH] fix: Add nosec B404 comment to subprocess import The pyproject.toml configuration with -c flag doesn't reliably suppress B404 warnings in all CI environments. Adding the nosec comment directly to the import line ensures consistent behavior across all environments. B404 is a low-severity warning about importing subprocess module, which is necessary and safe for managing OpenClaw CLI subprocess lifecycle. Co-Authored-By: Claude Sonnet 4.5 --- src/predicate_secure/openclaw_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/predicate_secure/openclaw_adapter.py b/src/predicate_secure/openclaw_adapter.py index 09b4f49..6d55245 100644 --- a/src/predicate_secure/openclaw_adapter.py +++ b/src/predicate_secure/openclaw_adapter.py @@ -11,7 +11,7 @@ import json import os -import subprocess +import subprocess # nosec B404 import threading from collections.abc import Callable from dataclasses import dataclass