.. _line-too-long:

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:**

.. literalinclude:: /data/messages/l/line-too-long/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/l/line-too-long/good.py
   :language: python



Created by the `format <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/format.py>`__ checker.