Skip to content

Bandit does not respect the settings in the .bandit file #12

@ChristopherSzczyglowski

Description

Describe the bug
Bandit does not respect the configuration defined in the .bandit file. This requires us to include additional parameters in the command line arguments which is counter-productive.

To Reproduce
Run bandit -r . and observe the many failing tests because bandit is scanning the ./env directory, which is explicitly forbidden by the configuration file.

Expected behavior
Bandit should respect the configuration in the .bandit file.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
This is a known issue

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions