(repo_config, store, hook_id)
| 47 | |
| 48 | |
| 49 | def _get_hook_no_install(repo_config, store, hook_id): |
| 50 | config = {'repos': [repo_config]} |
| 51 | config = cfgv.validate(config, CONFIG_SCHEMA) |
| 52 | config = cfgv.apply_defaults(config, CONFIG_SCHEMA) |
| 53 | hooks = all_hooks(config, store) |
| 54 | hook, = (hook for hook in hooks if hook.id == hook_id) |
| 55 | return hook |
| 56 | |
| 57 | |
| 58 | def _get_hook(repo_config, store, hook_id): |
no test coverage detected