pointless-statement / W0104ΒΆ
Message emitted:
Statement seems to have no effect
Description:
Used when a statement doesn't have (or at least seems to) any effect.
Problematic code:
[1, 2, 3] # [pointless-statement]
Correct code:
NUMBERS = [1, 2, 3]
print(NUMBERS)
Created by the basic checker.