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
Black inserts line breaks after parenthesis for 'foo == long_expression_with_parenthesis' as expected, but if I restructure the code as 'long_expression_with_parentheses == foo', then it wraps the whole expression with parenthesis, quite different from the original formatting.
Black v20.8b1
Black inserts line breaks after parenthesis for 'foo == long_expression_with_parenthesis' as expected, but if I restructure the code as 'long_expression_with_parentheses == foo', then it wraps the whole expression with parenthesis, quite different from the original formatting.
Playground link
Options
--line-length=20
--safe
Input
Output
Expected
The text was updated successfully, but these errors were encountered: