bandit

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RuleNoIssues = api.Rule{
	Slug: "code-quality/bandit/no-issues",
	Name: "Bandit reports no issues with this project",
	Details: `> [Bandit](https://github.com/PyCQA/bandit) is a tool designed to find common security issues in Python code.

This rule checks whether Bandit finds any security issues in your project.

For configuring Bandit's settings, such as which directories to exclude and which rules to enable / disable,
create a ` + "`.bandit`" + `file at the root of your project. See [Bandit's documentation](https://github.com/PyCQA/bandit#per-project-command-line-args) to learn more.`,
	Weight: 1,
}

Functions

func NewLinter

func NewLinter() api.Linter

Types

type BanditLinter

type BanditLinter struct{}

func (*BanditLinter) LintProject

func (l *BanditLinter) LintProject(project api.Project) (api.Report, error)

func (*BanditLinter) Name

func (l *BanditLinter) Name() string

func (*BanditLinter) Rules

func (l *BanditLinter) Rules() []*api.Rule

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL