Codequality
Recipes
- Boolean checks should not be inverted
- Merge collapsible if statements
- Merge consecutive branches with identical bodies
- Remove conditional with identical branches
- Remove duplicate conditions in if/elif chains
- Remove self-assignments
- Remove unconditional value overwrites
- Simplify boolean literal comparisons
- Simplify redundant logical expressions