You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ flake8 test.py test.py:4:5: R506 unnecessary else after raise statement.
The else is necessary as there is additional if before which has side effects and removing else would overwrite that. The code is simplified from real-world code.
The text was updated successfully, but these errors were encountered:
Description
Linting following code:
What I Did
The else is necessary as there is additional if before which has side effects and removing else would overwrite that. The code is simplified from real-world code.
The text was updated successfully, but these errors were encountered: