Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RuleNoIssues = api.Rule{ Slug: "code-quality/black/no-issues", Name: "Black reports no issues with this project", Details: fmt.Sprintf(`> [Black](https://github.com/psf/black) is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from %s nagging about formatting. You will save time and mental energy for more important matters. This rule checks whether Black finds any files it would fix in your project.`, "`pycodestyle`"), Weight: 1, }
Functions ¶
Types ¶
type BlackLinter ¶
type BlackLinter struct{}
func (*BlackLinter) LintProject ¶
func (*BlackLinter) Name ¶
func (l *BlackLinter) Name() string
func (*BlackLinter) Rules ¶
func (l *BlackLinter) Rules() []*api.Rule
Click to show internal directories.
Click to hide internal directories.