MCPcopy Index your code
hub / github.com/python/mypy / too_many_string_formatting_arguments

Method too_many_string_formatting_arguments

mypy/messages.py:1501–1506  ·  view source on GitHub ↗
(self, context: Context)

Source from the content-addressed store, hash-verified

1499 self.fail("Not enough arguments for format string", context, code=codes.STRING_FORMATTING)
1500
1501 def too_many_string_formatting_arguments(self, context: Context) -> None:
1502 self.fail(
1503 "Not all arguments converted during string formatting",
1504 context,
1505 code=codes.STRING_FORMATTING,
1506 )
1507
1508 def unsupported_placeholder(self, placeholder: str, context: Context) -> None:
1509 self.fail(

Callers 2

Calls 1

failMethod · 0.95

Tested by

no test coverage detected