We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bandit throws error when giving explicitly config file setup.cfg
setup.cfg
[isort] profile = black ... [tool.bandit] skips = ["B101", "B601"]
or
... [tool.bandit.assert_used] skips = ['*_test.py', '*/test_*.py']
$ bandit -c setup.cfg -r .
[config] ERROR expected '<document start>', but found '<scalar>' in "setup.cfg", line 2, column 1 [main] ERROR setup.cfg : Error parsing file.
Running properly with given config file in according to https://bandit.readthedocs.io/en/latest/config.html#bandit-settings
1.7.5 (Default)
3.8
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Bandit throws error when giving explicitly config file
setup.cfg
Reproduction steps
or
$ bandit -c setup.cfg -r .
Expected behavior
Running properly with given config file in according to https://bandit.readthedocs.io/en/latest/config.html#bandit-settings
Bandit version
1.7.5 (Default)
Python version
3.8
Additional context
No response
The text was updated successfully, but these errors were encountered: