By DeepSource
All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Security
Style
Type check
Literals used in conditions are pointless, as the programmer already knows if the condition will evaluate to true or false.