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
When formatting using ruff-api, the extension's formatter adds newlines after comments. This appears to only happen on Windows.
This snippet of example code when formatted via the extension will continually add newlines after every line of the block comment and new lines after the single line comment.
When formatting using ruff-api, the extension's formatter adds newlines after comments. This appears to only happen on Windows.
This snippet of example code when formatted via the extension will continually add newlines after every line of the block comment and new lines after the single line comment.
gets formatted into:
Even worse, if formatted again, it'll add even more newlines.
The VSCode ufmt output is as follows:
When using ufmt CLI separately, this does not happen. The CLI reports nothing needs to be formatted in a file containing the above snippet.
The text was updated successfully, but these errors were encountered: