Repository navigation
Replies: 1 comment
|
The error comes from parsing # setup.cfg — keep your other sections as they are
[bandit]
skips = B101For the pre-commit hook, replace an argument such as hooks:
- id: bandit
args: ["--ini", "setup.cfg"]Keep the existing hook repository and revision around that snippet. The INI value is a comma-separated list, so use Alternatively, move that setting to [tool.bandit]
skips = ["B101"]Then use Both configuration formats and the pre-commit example are covered in the Bandit configuration documentation. Choose one of these formats; changing the section name alone will not fix an INI file passed to |
Uh oh!
There was an error while loading. Please reload this page.
Hi together, I get issues with my
setup.cfgfile which looks like this:I get error now:
Not sure if its a bug or user issue? :)
All reactions