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
There's a few rules here (like RET505: https://docs.astral.sh/ruff/rules/superfluous-else-return/) that I think should be first discussed with the other developers, as there's arguments on both sides. On one hand, as the else is superfluous, we should remove it to simplify the code; on the other hand, having the else might make the code more readable.
See: https://docs.astral.sh/ruff/rules/#flake8-return-ret
The text was updated successfully, but these errors were encountered: