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
When formatting a long line with condition and a list, splitting the condition is preferred over the list. Would be nice to have some heuristic that would prefer the opposite.
Description
When formatting a long line with condition and a list, splitting the condition is preferred over the list. Would be nice to have some heuristic that would prefer the opposite.
Small example input
Expected output
Actual output
I can get the preferred formatting if I split the array onto multiple lines. For example
The text was updated successfully, but these errors were encountered: