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

Function test_hook_verbose_enabled

tests/commands/run_test.py:460–473  ·  view source on GitHub ↗
(cap_out, store, repo_with_passing_hook)

Source from the content-addressed store, hash-verified

458
459
460def test_hook_verbose_enabled(cap_out, store, repo_with_passing_hook):
461 with modify_config() as config:
462 config['repos'][0]['hooks'][0]['always_run'] = True
463 config['repos'][0]['hooks'][0]['verbose'] = True
464
465 _test_run(
466 cap_out,
467 store,
468 repo_with_passing_hook,
469 {},
470 (b'Hello World',),
471 0,
472 stage=False,
473 )
474
475
476@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

modify_configFunction · 0.90
_test_runFunction · 0.85

Tested by

no test coverage detected