StatusNot yet tested. This draft records what the sources say so the hands-on review can confirm or correct it.
What it is
pre-commit is a framework for managing git hooks written in many languages. It runs linters and formatters on staged files before each commit and installs each hook’s toolchain itself, so developers do not need it on their machine.
What the sources document
| Area | What is documented |
|---|---|
| Config | .pre-commit-config.yaml lists repos, pinned revisions and hook ids. |
| Install | pip install pre-commit or a zipapp, then pre-commit install. |
| Run | Hooks run against staged files on commit. Unstaged changes are stashed during the run. |
| Environments | Created on the first run and reused, so the first run can be slow. |
| Languages | Python, Node, Go, Rust, Ruby, Docker, Dart, Swift, Julia, R and others. |
| CI | a full run over all files, or a run limited to changed files. A hosted pre-commit.ci service can autofix pull requests. |
| Other stages | Can target pre-push and commit-msg hooks. |
What users said
Listed by one commenter among their daily tools. The thread is about a year old and comments are anecdotal.
What the sources do not state
- The license.
- Supported Python versions.
- Pre-commit.ci pricing and limits.
- Security guidance for running third-party hook code.
- Performance numbers.
Where it fits
See the Testing and code quality tools guide for related tools.
How this was researched
Facts come from the pages listed below, read on November 5, 2026. Items marked as vendor claims were not checked. No hardware was used yet, and no verdict is offered until the test plan has been run.
Sources
Discuss this review
Used it yourself? Share your experience, corrections and questions in the forum thread.