pylint-errors

W1302 (bad-format-string)

:x: Problematic code:

print('{a[0] + a[1]}'.format(a=[0, 1]))

:heavy_check_mark: Correct code:

print('{a[0]} + {a[1]}'.format(a=[0, 1]))

Rationale:

Used when a PEP 3101 format string is invalid.