Skip to content

Should we add matchify to pre-commit #15337

Description

@cclauss

Feature description

@priya-sundaram-dev, please evaluate if we should add https://github.com/15r10nk/matchify to our codebase.

Python's match statement is powerful and we should encourage contributors to use it where it makes sense.

On Python 14t, please run uv tool install matchify && matchify data_structures, which should modify six files.

Do these changes look correct and useful? Do you recommend we add this tool to pre-commit?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions