Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ try_repo_opts
Function
try_repo_opts
tests/commands/try_repo_test.py:22–23 ·
view source on GitHub ↗
(repo, ref=None, **kwargs)
Source
from the content-addressed store, hash-verified
20
21
22
def
try_repo_opts(repo, ref=None, **kwargs):
23
return
auto_namedtuple(repo=repo, ref=ref, **run_opts(**kwargs)._asdict())
24
25
26
def
_get_out(cap_out):
Callers
6
_run_try_repo
Function · 0.85
test_try_repo_relative_path
Function · 0.85
test_try_repo_bare_repo
Function · 0.85
test_try_repo_specific_revision
Function · 0.85
test_try_repo_uncommitted_changes
Function · 0.85
test_try_repo_staged_changes
Function · 0.85
Calls
2
auto_namedtuple
Function · 0.90
run_opts
Function · 0.90
Tested by
no test coverage detected