Skip to content

Commit 9d262d7

Browse files
rcholicclaude
andcommitted
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 <noreply@anthropic.com>
1 parent 5a628b8 commit 9d262d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/predicate_secure/openclaw_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import json
1313
import os
14-
import subprocess
14+
import subprocess # nosec B404
1515
import threading
1616
from collections.abc import Callable
1717
from dataclasses import dataclass

0 commit comments

Comments
 (0)