Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 300 Bytes

File metadata and controls

6 lines (5 loc) · 300 Bytes

No Else Return (R1705)

Unnecessary "%s" after "return", %s Used in order to highlight an unnecessary block of code following an if, or a try/except containing a return statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a return statement.