Should we add matchify to pre-commit
Author: cclaussCreated Sep 15, 2026Updated Sep 15, 2026
Labelsenhancement
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?
Source: TheAlgorithms/Python