W1306 missing-format-attribute

Message

'Missing format attribute %r in format specifier %r'

Description

Used when a PEP 3101 format string uses an attribute specifier ({0.length}), but the argument passed for formatting doesn’t have that attribute.