Skip to content

prevent bandit from security scanning unit tests#3772

Merged
sgoggins merged 1 commit intomainfrom
devops/bandit_exclude_tests
Mar 17, 2026
Merged

prevent bandit from security scanning unit tests#3772
sgoggins merged 1 commit intomainfrom
devops/bandit_exclude_tests

Conversation

@MoralCode
Copy link
Copy Markdown
Collaborator

Description
Recent PRs and also maintainer observations have pointed out that the new bandit security tool added in #3732 is flagging a LOT of things, mostly in the unit tests.

This PR fixes #3750 and disabled bandit scanning for files in the tests folder.

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
@MoralCode MoralCode requested a review from sgoggins as a code owner March 16, 2026 19:44
@MoralCode MoralCode added the devops Development Operations label Mar 16, 2026
@MoralCode MoralCode added this to the v0.94.0 milestone Mar 16, 2026
@sgoggins sgoggins merged commit 49a008a into main Mar 17, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops Development Operations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

disable bandit warning about assert calls in unit tests

2 participants