Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pre-commit/pre-commit
/ test_init_repo_no_hooks
Function
test_init_repo_no_hooks
tests/git_test.py:291–293 ·
view source on GitHub ↗
(tmpdir)
Source
from the content-addressed store, hash-verified
289
290
291
def
test_init_repo_no_hooks(tmpdir):
292
git.init_repo(str(tmpdir), remote=
'dne'
)
293
assert not tmpdir.join(
'.git/hooks'
).exists()
Callers
nothing calls this directly
Calls
1
exists
Method · 0.80
Tested by
no test coverage detected