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

Function call

tests/commands/hook_impl_test.py:91–92  ·  view source on GitHub ↗
(*_, **__)

Source from the content-addressed store, hash-verified

89
90 # simulate a call being recursive
91 def call(*_, **__):
92 return hook_impl._run_legacy('pre-commit', tmpdir, ())
93
94 with mock.patch.object(subprocess, 'run', call):
95 with pytest.raises(SystemExit):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected