Skip to content

Switch refactoring always re-orders if..elif comparisons alphabetically #102

Open
@Hellebore

Description

@Hellebore

Issue description or question

The switch refactoring always re-orders comparisons of values to strings alphabetically. This does not change behaviour but can obscure developer intent and harm readability.

Sourcery Version

0.8.3

Code editor or IDE name and version

All

OS name and version

All

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions