Skip to content

Commit

Permalink
fix the documentation file README.rst and corrects Lists of things on…
Browse files Browse the repository at this point in the history
… Extending Bandit
  • Loading branch information
MrDolev committed Aug 31, 2019
1 parent d33f6e5 commit dc613cb
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`: this is 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`: indicate the 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 dc613cb

Please sign in to comment.