Skip to content

Commit

Permalink
Fix readme file on Extending Bandit on list things (#534)
Browse files Browse the repository at this point in the history
* fix the documentation file README.rst and corrects Lists of things on Extending Bandit

* fix of the changes
  • Loading branch information
MrDolev authored and ericwb committed Oct 4, 2019
1 parent 3f9618c commit 9c5ec4a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,12 +380,11 @@ Bandit will load plugins from two entry-points:

Formatters need to accept 5 things:

manager, fileobj, sev_level, conf_level, lines=-1
- `manager`: An instance of `bandit manager`
- `fileobj`: output file object
- `manager`: an instance of `bandit manager`
- `fileobj`: the output file object, which may be sys.stdout
- `sev_level` : Filtering severity level
- `conf_level`: Filtering confidence level
- `lines=-1`: Number of lines to report
- `lines=-1`: number of lines to report

Plugins tend to take advantage of the `bandit.checks` decorator which allows
the author to register a check for a particular type of AST node. For example
Expand Down

0 comments on commit 9c5ec4a

Please sign in to comment.