simplifiable-condition / R1726#
Boolean condition "%s" may be simplified to "%s"
Emitted when a boolean condition is able to be simplified.
def has_apples(apples) -> bool: return bool(apples or False) # [simplifiable-condition]
def has_apples(apples) -> bool: return bool(apples)
Created by the refactoring checker.