line-too-long / C0301#

Message emitted:

Line too long (%s/%s)


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:

    "dragon fruit",

Additional details:

If you attempt to disable this message via # pylint: disable=line-too-long in a module with no code, you may receive a message for useless-suppression. This is a false positive of useless-suppression we can't easily fix.

See for more information.

Created by the format checker.