style.Violation
A single style violation, located by line so the runner can scope it to the edit.
Usage
style.Violation(
line,
label,
)Parameter Attributes
line: intlabel: str
Attributes
line: int-
1-based line number of the offending construct in the post-edit file.
label: str-
Short human-readable description, rendered as
"{label} (line {line})".