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've seen some discussion on here about allowing/not allowing an empty first line after a new code block with ruff format. This was updated to be allowed by black 24+. It also seems that black's removing of the empty new line was only a feature in black 23; previous versions of black did not enforce this.
Is there any willingness to allow these empty newlines in ruff? Or perhaps an optional flag to allow them? I agree with others' opinions that ruff should not format existing code with no new line, but should allow empty new lines.
Thoughts?
The text was updated successfully, but these errors were encountered:
I've seen some discussion on here about allowing/not allowing an empty first line after a new code block with
ruff format
. This was updated to be allowed by black 24+. It also seems that black's removing of the empty new line was only a feature in black 23; previous versions of black did not enforce this.Is there any willingness to allow these empty newlines in ruff? Or perhaps an optional flag to allow them? I agree with others' opinions that ruff should not format existing code with no new line, but should allow empty new lines.
Thoughts?
The text was updated successfully, but these errors were encountered: