A line is wider than the configured number of characters
What it finds
Wide lines have to be scrolled or wrapped in editors and side-by-side diffs. Characters are counted, not bytes. Lines that cannot be broken are left alone: those without a space after their indentation, and those that end in a URL. So are lines with a noqa or type: comment, which tools need on one line.
From the rule's source, long_line.rs.
Turn it on, off or suppress it
The rule runs from the strict tier up. To turn it on in a lower tier, give it a level in tx0.toml:
[rules]
"tx0/python:long-line" = "note"To keep one finding, suppress it with a reason. tx0 suppress ID --reason "..." writes the comment on the line before the code:
# tx0: ignore[tx0/python:long-line] reason="..."tx0 explain tx0/python:long-line shows the same in the terminal. Found a false positive? Report it.