yapf icon indicating copy to clipboard operation
yapf copied to clipboard

Unstable output with semicolon

Open Timmmm opened this issue 4 years ago • 0 comments

Ok technically it does converge on stable output, but not in one step. If you start here:

predefined_typedefs = {'foo' : 'bar'};

YAPF formats it to this:

predefined_typedefs = {
    'foo': 'bar'
}

And then to this:

predefined_typedefs = {'foo': 'bar'}

Timmmm avatar Sep 09 '21 10:09 Timmmm