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
Whether else should be moved to a line of its own at all is debatable, but I think the formatter at minimum should respect simple one-liner constructs when else is involved:
This:
foo if input.bar else :=false
Currently formats to this:
foo if input.bar
else :=false
Which just makes the else look entirely detached from the if.
The text was updated successfully, but these errors were encountered:
Whether
else
should be moved to a line of its own at all is debatable, but I think the formatter at minimum should respect simple one-liner constructs whenelse
is involved:This:
Currently formats to this:
Which just makes the
else
look entirely detached from theif
.The text was updated successfully, but these errors were encountered: