pre-commit
brew install pre-commit
v4.6.0
MIT
Framework for managing and running multi-language pre-commit git hooks, written in Python.
Why you might care
Standardizes pre-commit checks (linting, formatting, security scanning) across your team without needing to install each tool individually. Hooks are declared in a shared `.pre-commit-config.yaml`, automatically installed and run before commits. It's the de facto standard for enforcing code quality gates in Python and polyglot projects.
8.4k
30-day installs · #401
32.5k
90-day · #372
131.2k
365-day · #361
Runtime dependencies
Links
- https://pre-commit.com/
- Brew formula source: Formula/p/pre-commit.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"husky",
"lefthook",
"git-hooks"
],
"build_dependencies": [],
"categories": [
"build-system",
"linter",
"version-control"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"libyaml",
"python@3.14"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Framework for managing multi-language pre-commit hooks",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:50+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "pre-commit",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://pre-commit.com/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "pre-commit",
"installs_30d": 8384,
"installs_365d": 131217,
"installs_90d": 32533,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:44:38+00:00",
"llm_model": "claude-haiku-4-5",
"name": "pre-commit",
"oldnames": [],
"one_liner": "Framework for managing and running multi-language pre-commit git hooks, written in Python.",
"optional_dependencies": [],
"rank_30d": 401,
"rank_365d": 361,
"rank_90d": 372,
"raw_hash": "6b471cba6d207e59",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/p/pre-commit.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "4.6.0",
"versioned_formulae": [],
"why_use_this": "Standardizes pre-commit checks (linting, formatting, security scanning) across your team without needing to install each tool individually. Hooks are declared in a shared `.pre-commit-config.yaml`, automatically installed and run before commits. It\u0027s the de facto standard for enforcing code quality gates in Python and polyglot projects."
}