MCPcopy 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
22def try_repo_opts(repo, ref=None, **kwargs):
23 return auto_namedtuple(repo=repo, ref=ref, **run_opts(**kwargs)._asdict())
24
25
26def _get_out(cap_out):

Callers 6

_run_try_repoFunction · 0.85
test_try_repo_bare_repoFunction · 0.85

Calls 2

auto_namedtupleFunction · 0.90
run_optsFunction · 0.90

Tested by

no test coverage detected