You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
0 commit comments