Redundant If Statement¶
This rule reports instances of unnecessary if statements that can be simplified to a single assignment or return statement.
This rule reports instances of unnecessary if statements that can be simplified to a single assignment or return statement.