1
Vote

Format code undoes newline after list opening

description

Given this code:
'overloads': [
    generate_overload(tuple, ('self', typename_to_typeref('re', 'SRE_Match')), ('default', object)),
    generate_overload(tuple, ('self', typename_to_typeref('re', 'SRE_Match')))
],
After reformatting, it looks like:
'overloads': [generate_overload(tuple, ('self', typename_to_typeref('re', 'SRE_Match')), ('default', object)),
    generate_overload(tuple, ('self', typename_to_typeref('re', 'SRE_Match')))],
We need an option to prefer the original formatting.

comments