Skip to content

Don't move type param opening parenthesis comments #8162

@dhruvmanila

Description

@dhruvmanila

Given:

type foo[  # comment
    a,
    b
] = ...

We format it as:

type foo[a, b] = ...  # comment

But, the list formatting is from:

foo = [  # comment 0
    a,
    b
]

To:

foo = [  # comment 0
    a,
    b,
]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingformatterRelated to the formatter

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions