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 (#37) `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. Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
- Loading branch information