.. _unexpected-line-ending-format:

unexpected-line-ending-format / C0328
=====================================

**Message emitted:**

Unexpected line ending format. There is '%s' while it should be '%s'.

**Description:**

*Used when there is different newline than expected.*


**Correct code:**

.. literalinclude:: /data/messages/u/unexpected-line-ending-format/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.