MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / set_git_templatedir

Function set_git_templatedir

tests/conftest.py:231–234  ·  view source on GitHub ↗
(tmpdir_factory)

Source from the content-addressed store, hash-verified

229
230@pytest.fixture(scope='session', autouse=True)
231def set_git_templatedir(tmpdir_factory):
232 tdir = str(tmpdir_factory.mktemp('git_template_dir'))
233 with envcontext((('GIT_TEMPLATE_DIR', tdir),)):
234 yield

Callers

nothing calls this directly

Calls 1

envcontextFunction · 0.90

Tested by

no test coverage detected