Skip to content

Commit d09461f

Browse files
rcholicclaude
andcommitted
fix: Configure Bandit to use pyproject.toml in CI
The pyproject.toml already has B404 (subprocess import) in the skips list, but the GitHub Actions workflow wasn't using the config file. Added -c pyproject.toml flag to the bandit command. This resolves the B404 warning which is a low-severity issue about importing the subprocess module. The import is safe and necessary for managing OpenClaw CLI subprocess lifecycle. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 7f75107 commit d09461f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Run security checks
3535
run: |
36-
python -m bandit -q -r src/predicate_secure/
36+
python -m bandit -q -r src/predicate_secure/ -c pyproject.toml
3737
3838
lint:
3939
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)