Forbid to raise
exception from itself
#2133
Labels
good first issue
Entrypoint to the project
Hacktoberfest
Hactoberfest fun!
help wanted
Extra attention is needed
level:starter
Good for newcomers
rule request
Adding a new rule
Milestone
Rule request
We need to forbid code like
raise exc from exc
, because it does not make much sense and works the same way:And with
from
:We need to explicitly test two cases:
raise
except
The text was updated successfully, but these errors were encountered: