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
I noticed what appears to be inconsistent formatting when comparing black's output (v23.10.1) to ruff's new formatter (v0.1.3), as I reported to ruff and can demonstrate here:
Black doesn't move .f() to a new line in the first assignment (x = ...) but does move .f() to a new line in the second assignment (y = ...), as shown here:
Describe the bug
I noticed what appears to be inconsistent formatting when comparing black's output (v23.10.1) to ruff's new formatter (v0.1.3), as I reported to ruff and can demonstrate here:
To Reproduce
Black doesn't move
.f()
to a new line in the first assignment (x = ...
) but does move.f()
to a new line in the second assignment (y = ...
), as shown here:Expected behavior
I did not expect that adding/removing the line
.h()
would affect how.f()
is formatted.Environment
The text was updated successfully, but these errors were encountered: