assign-if-exp
can make code in a switch-like statement a bit less clear
#398
Labels
enhancement
New feature or request
Description
Consider the following code:
sourcery will try to reformat it to the following:
The issue is obvious; Previously each return was exactly one case, but now two of them get mangled together. Even though this is generally a good refactoring, that I try to follow, in cases that there is a "hidden switch" statement, it becomes annoying.
The text was updated successfully, but these errors were encountered: