You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AIGeneratedUsername
changed the title
Mypy does not detect extra keywords in 'str.format()'
Mypy does not detect redundant keyword arguments in 'str.format()'
Oct 14, 2021
Bug Report
To Reproduce
DOES NOT DETECT
DOES NOT DETECT
DOES NOT DETECT
DETECTS
error: Not all arguments converted during string formatting [str-format]
Expected Behavior
Always detect redundant keys in the 'format()' and raise an appropriate error.
Actual Behavior
Redundant keys in the 'format()' are detected only when I use
Final
and only when theFinal
is without arguments.Your Environment
The text was updated successfully, but these errors were encountered: