using-constant-test / W0125ΒΆ

Message emitted:

Using a conditional statement with a constant value

Description:

Emitted when a conditional statement (If or ternary if) uses a constant value for its test. This might not be what the user intended to do.

Created by basic checker