s3tree icon indicating copy to clipboard operation
s3tree copied to clipboard

Unnecessary else/elif used after raise

Open sanketsaurav opened this issue 5 years ago • 0 comments

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

sanketsaurav avatar Jan 31 '20 21:01 sanketsaurav