.. _too-many-lines:

too-many-lines / C0302
======================

**Message emitted:**

Too many lines in module (%s/%s)

**Description:**

*Used when a module has too many lines, reducing its readability.*


**Correct code:**

.. literalinclude:: /data/messages/t/too-many-lines/good.py
   :language: python

**Additional details:**

You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !


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