Skip to content

Find identical case statements in WPS533 #3206

@sobolevn

Description

@sobolevn

I forgot about it when provided initial implementation.
Or maybe create a separate violation?

Example of a bad code:

match some_value:
    case SomeClass(field) if field > 0:
        ...
    case SomeClass(field) if field > 0:
        ...

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions