Open dhruvmanila opened 3 hours ago
Huh, that's weird
Oh, is it because of the inner group
and the entire line exceeds the line length. We might need to remove if_group_breaks
from RemoveSoftLinesBuffer
this could be annoying
Oh, is it because of the inner
group
and the entire line exceeds the line length.
Yeah, and we use RemoveSoftLinesBuffer
but that doesn't remove the space as you've mentioned.
Consider the following source code:
Running
ruff format --preview
:Playground: https://play.ruff.rs/80926d6e-f183-4631-94ce-f1702502a0e0
Found in https://github.com/astral-sh/ruff/pull/14454#issuecomment-2488346686