s3tree
s3tree copied to clipboard
Unnecessary else/elif used after raise
Description
raise
causes control flow to be disrupted, as it will exit the block. You may check other conditions using another if statement.
Occurrences
https://deepsource.io/gh/sanketsaurav/s3tree/issue/PYL-R1720/description