Is your feature request related to a problem? Please describe.
Specifically I'd like to be able to apply the skips: [ ] configuration to B105/6/7 but I imagine it would be useful for all tests.
Describe the solution you'd like
In the bandit.yaml file I would like to be able to do:
hardcoded_password_string: skips: ["*/test_*.py"]
Describe alternatives you've considered
I could disable the test for the whole project but that seems like a very black and white approach to take.
There are also tests listed in the generated yaml config file that aren't in the docs, such as B311 : random that may benefit from selective skipping.
Is your feature request related to a problem? Please describe. Specifically I'd like to be able to apply the
skips: [ ]
configuration to B105/6/7 but I imagine it would be useful for all tests.Describe the solution you'd like In the
bandit.yaml
file I would like to be able to do:hardcoded_password_string: skips: ["*/test_*.py"]
Describe alternatives you've considered I could disable the test for the whole project but that seems like a very black and white approach to take.
There are also tests listed in the generated yaml config file that aren't in the docs, such as
B311 : random
that may benefit from selective skipping.