pylint-errors

E1307 (bad-string-format-type)

:x: Problematic code:

print('{:.2f}'.format('10.5555'))

:heavy_check_mark: Correct code:

print('{:.2f}'.format(10.5555))
# to be added

Rationale:

Used when a type required by format string is not suitable for actual argument type.