line-too-long / C0301#

Message emitted:

Line too long (%s/%s)

Description:

Used when a line is longer than a given number of characters.

Problematic code:

FRUIT = ["apricot", "blackcurrant", "cantaloupe", "dragon fruit", "elderberry", "fig", "grapefruit"]  # [line-too-long]

Correct code:

FRUIT = [
    "apricot",
    "blackcurrant",
    "cantaloupe",
    "dragon fruit",
    "elderberry",
    "fig",
    "grapefruit",
]

Created by the format checker.