We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb395a commit da7213eCopy full SHA for da7213e
.bandit.yml
.github/labeler.yml
@@ -54,7 +54,6 @@ test:
54
- any-glob-to-any-file:
55
# Add any test-related files or paths.
56
- .ansible-lint
57
- - .bandit.yml
58
- .flake8
59
- .mdl_config.yaml
60
- .yamllint
.pre-commit-config.yaml
@@ -136,7 +136,9 @@ repos:
136
name: bandit (tests tree)
137
files: tests
138
args:
139
- - --config=.bandit.yml
+ # Skip "assert used" check since assertions are used
140
+ # frequently in pytests.
141
+ - --skip=B101
142
# Run bandit on everything except the "tests" tree
143
- repo: https://github.com/PyCQA/bandit
144
rev: 1.8.6
0 commit comments