too-few-format-args / E1306#
Message emitted:
Not enough arguments for format string
Description:
Used when a format string that uses unnamed conversion specifiers is given too few arguments
Correct code:
print("Today is {0}, so tomorrow will be {1}".format("Monday", "Tuesday"))
Problematic code:
print("Today is {0}, so tomorrow will be {1}".format("Monday")) # [too-few-format-args]
Related links:
Created by the string checker.