MCPcopy
hub / github.com/pre-commit/pre-commit

github.com/pre-commit/pre-commit @v4.6.0 sqlite

repository ↗ · DeepWiki ↗ · release v4.6.0 ↗
1,240 symbols 5,589 edges 135 files 48 documented · 4%
README

build status pre-commit.ci status

pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

For more information see: https://pre-commit.com/

Core symbols most depended-on inside this repo

cmd_output
called by 193
pre_commit/util.py
cwd
called by 96
testing/util.py
exists
called by 77
pre_commit/prefix.py
git_commit
called by 71
testing/util.py
run_language
called by 63
testing/language_helpers.py
install
called by 61
pre_commit/commands/install_uninstall.py
make_consuming_repo
called by 43
testing/fixtures.py
cmd_output_b
called by 42
pre_commit/util.py

Shape

Function 1,116
Method 74
Class 40
Route 10

Languages

Python100%
Go1%

Modules by API surface

tests/commands/run_test.py85 symbols
tests/commands/install_uninstall_test.py65 symbols
tests/staged_files_only_test.py41 symbols
tests/clientlib_test.py40 symbols
pre_commit/clientlib.py40 symbols
tests/commands/autoupdate_test.py37 symbols
tests/commands/hook_impl_test.py35 symbols
tests/repository_test.py34 symbols
tests/git_test.py32 symbols
tests/languages/python_test.py28 symbols
tests/store_test.py26 symbols
tests/xargs_test.py25 symbols

Dependencies from manifests, versioned

covdefaults2.2 · 1×

For agents

$ claude mcp add pre-commit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact