pylint-errors

E0119 (misplaced-format-function)

:x: Problematic code:

print('Value: {}').format('Car')

:heavy_check_mark: Correct code:

print('Value: {}'.format('Car'))

Rationale:

Emitted when format function is not called on str object. e.g doing print("value {}").format(123) instead of print("value {}".format(123)). This might not be what the user intended to do.