undefined-variable / E0602ΒΆ
Message emitted:
Undefined variable %r
Description:
Used when an undefined variable is accessed.
Problematic code:
print(number + 2) # [undefined-variable]
Correct code:
number = 3
print(number + 2)
Created by the variables checker.