.. _trailing-whitespace:

trailing-whitespace / C0303
===========================

**Message emitted:**

Trailing whitespace

**Description:**

*Used when there is whitespace between the end of a line and the newline.*

**Problematic code:**

.. literalinclude:: /data/messages/t/trailing-whitespace/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/t/trailing-whitespace/good.py
   :language: python



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