Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor unnecessary
else
/ elif
when if
block has a …
…`raise` statement `raise` causes control flow to be disrupted, as it will exit the block. It is recommended to check other conditions using another `if` statement, and get rid of `else` statements as they are unnecessary.
- Loading branch information