Fix README.rst#365
Merged
Merged
Conversation
ericwb
requested changes
Aug 14, 2018
Member
ericwb
left a comment
There was a problem hiding this comment.
So the filename does need to be called .bandit. By stating here only to include a YAML file doesn't tell the user what it should be named.
Member
The current README.rst has references to configure bandit runs using a custom .INI-like file. In reality, that file should actually be a YAML file. Using the INI example provided will result in: ` [main] ERROR bandit.cfg : Error parsing file. ` This patch set updates the configuration so it is of proper YAML format so the execution will not error out. Signed-off-by: Tin Lam <tinlam@gmail.com>
Contributor
Author
|
Added back the name of the file into README.rst. |
ericwb
requested changes
Mar 4, 2019
Member
ericwb
left a comment
There was a problem hiding this comment.
The .bandit file is INI. A YAML file can be passed to the -c option to the CLI with is more for configuring test plugins.
This was referenced Jan 25, 2022
This was referenced Feb 28, 2022
This was referenced Mar 7, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current README.rst has references to configure bandit runs using a custom
.INI-like file. In reality, that file should actually be a YAML file.
Using the INI example provided will result in:
[main] ERROR bandit.cfg : Error parsing file.This patch set updates the configuration so it is of proper YAML format so
the execution will not error out.
Signed-off-by: Tin Lam tinlam@gmail.com