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

Correct code:

raise RuntimeError("This looks wrong %s %s" % ("a", "b"))

Problematic code:

raise RuntimeError("This looks wrong %s %s", ("a", "b"))  # [raising-format-tuple]

Created by the exceptions checker.