pylint-errors

E1102 (not-callable)

:x: Problematic code:

a = '1'
print(a())

:heavy_check_mark: Correct code:

a = lambda: '1'
print(a())

Rationale:

Used when an object being called has been inferred to a non callable object.