Skip to content

Format PatternMatchMapping #6644

@MichaReiser

Description

@MichaReiser

Implement formatting for {...} patterns

match x:
    case {1: _, 2: _}:
        ...
    case {**rest}:
        ..

This should probably be similar to dict formatting.

Metadata

Metadata

Assignees

Labels

formatterRelated to the formatterhelp wantedContributions especially welcome

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions