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
makes sense to me to break, even if the string can't be fit inside the line length.
Can confirm I didn't explicitly think about this case - but am not surprised that this behavior got changed since it did mess around with line-wrapping and type hints. But I'm not really against this behavior getting reverted.
Black v23.10.0
Playground link
Options
--line-length=88
--safe
--preview
Input
Output
Expected
Since the string wrapped in parens still can't fit in the line-length, Black won't wrap.
Did a git-bisect and this behavior was introduced in #3899, and it doesn't seem to be an intentional change from that PR.
The text was updated successfully, but these errors were encountered: