Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ _state
Function
_state
pre_commit/repository.py:33–34 ·
view source on GitHub ↗
(additional_deps: Sequence[str])
Source
from the content-addressed store, hash-verified
31
32
33
def
_state(additional_deps: Sequence[str]) -> object:
34
return
{
'additional_dependencies'
: additional_deps}
35
36
37
def
_read_state(venv: str) -> object | None:
Callers
2
_hook_installed
Function · 0.85
_hook_install
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected