.. _raising-format-tuple:

raising-format-tuple / W0715
============================

**Message emitted:**

Exception arguments suggest string formatting might be intended

**Description:**

*Used when passing multiple arguments to an exception constructor, the first of them a string literal containing what appears to be placeholders intended for formatting*

**Problematic code:**

.. literalinclude:: /data/messages/r/raising-format-tuple/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/r/raising-format-tuple/good.py
   :language: python



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