.. _inconsistent-quotes:

inconsistent-quotes / W1405
===========================

**Message emitted:**

Quote delimiter %s is inconsistent with the rest of the file

**Description:**

*Quote delimiters are not used consistently throughout a module (with allowances made for avoiding unnecessary escaping).*


**Correct code:**

.. literalinclude:: /data/messages/i/inconsistent-quotes/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 `string <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/strings.py>`__ checker.