rufo icon indicating copy to clipboard operation
rufo copied to clipboard

Comments inside empty blocks get uncommented

Open maxnotarangelo opened this issue 2 years ago • 1 comments

I'm getting a bug where running the formatter is making the code invalid.

Example code:

foo %i[
  bar
  baz
  qux
], kwarg: {
  # TODO: fill me in
}

After formatting:

foo %i[
    bar
    baz
    qux
  ], kwarg: {
 TODO: fill me in
         }

maxnotarangelo avatar Oct 05 '23 01:10 maxnotarangelo

@maxnotarangelo Thanks for the report. This is not good... :thinking:

kzkn avatar Oct 28 '23 07:10 kzkn