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
Hi! As I can see, pyproject.toml support was not included in 1.7.0 version. Relevant MR was merged last year august: #401
Ah, I just took for granted that Bandit was updated at least within a year or so.
But I now see that the latest stable release was Dec 13, 2020.
Looks like the latest changes in master is becoming pretty big, is there any plans on releasing v1.7.1 ish soon? Would be nice to include bandit in some projects but I'd like to avoid having different .ini files.
Describe the bug
I've got the following
pyproject.toml
file:Which errors out when running bandit:
And if I read the config parser code correctly, this should trigger this block: https://github.com/orsinium-forks/bandit/blob/d8fce0dcd84b2b1aca7d2be8d469458ea83c0bbe/bandit/core/config.py#L39-L46
If I put a comment on line 2, it complains on line 3, and so on.
And I can't say it's a problem with
toml
reading the file either:Is this a Python 3.10 issue?
Bandit version
1.7.0 (Default)
Python version
3.9 (Default)
Additional context
Python 3.10, not python 3.9
The text was updated successfully, but these errors were encountered: