Guix is offering pre-commit in two different packages and versions 1. pre-commit (at 2.16.0) 2. python-pre-commit (at 2.10.0)
Some Python projects add pre-commit as a dependency in setup.py, but it's only used for development. It's not a requirement for tests or runtime. There are 6 packages depending on python-pre-commit: mdpo python-bidict python-marshmallow-jsonapi python-minikanren python-pytest-regressions python-sphinxcontrib-apidoc