W0125 using-constant-testΒΆ

Message

'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.