Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash on pyproject.toml without bandit config (#1073)
* Fix crash on pyproject.toml without bandit config This is a naive fix for bandit crashing when it encounters a `pyproject.toml` which does not contain any specific bandit configuration. This resolves the common failure mode that is seen, but does not cause bandit to fall back to another configuration source if the `pyproject.toml` does not contain any `tool.bandit` block. Resolves #1027 * Update bandit/core/config.py --------- Co-authored-by: Eric Brown <[email protected]>
- Loading branch information