R1720 no-else-raiseΒΆ

Message

'Unnecessary "%s" after "raise"'

Description

Used in order to highlight an unnecessary block of code following an if containing a raise statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a raise statement.