Lines Matching refs:hook
132 def hook_finish(self, hook, duration): argument
134 self.hooks.remove(hook)
138 hook,
147 def hook_error(self, hook, error): argument
156 def hook_warning(self, hook, warning): argument
399 def _run_hook(hook, project, commit, desc, diff): argument
402 results = hook.hook(project, commit, desc, diff)
405 return (hook, results, error, warning, duration)
419 executor.submit(_run_hook, hook, project, commit, desc, diff)
420 for hook in hooks
425 for hook, hook_results, error, warning, duration in future_results:
429 output.hook_warning(hook, warning)
431 output.hook_error(hook, error)
433 output.hook_finish(hook, duration)