Searched refs:hook (Results 1 – 9 of 9) sorted by relevance
143 def custom_hook(self, hook): argument145 return shlex.split(self.config.get(self.CUSTOM_HOOKS_SECTION, hook, ''))153 def builtin_hook_option(self, hook): argument156 hook, ''))165 for hook in self.custom_hooks:166 options = rh.hooks.HookOptions(hook,167 self.custom_hook(hook),169 yield (hook, functools.partial(rh.hooks.check_custom,172 for hook in self.builtin_hooks:173 options = rh.hooks.HookOptions(hook,[all …]
32 def __init__(self, hook, project, commit, error, files=(), fixup_func=None): argument47 self.hook = hook69 def __init__(self, hook, project, commit, result, files=(), argument71 HookResult.__init__(self, hook, project, commit,
72 for hook in rh.hooks.BUILTIN_HOOKS:73 self.assertIn('* `%s`:' % (hook,), data,74 msg='README.md missing docs for hook "%s"' % (hook,))306 for hook in rh.hooks.BUILTIN_HOOKS:307 self.assertIn('test_%s' % (hook,), dir(self),308 msg='Missing unittest for builtin hook %s' % (hook,))
7 turn on any hook it wishes to enforce.58 # Per-project `repo upload` hook settings.149 that is executed. The key is used as the name of the hook for reporting purposes,161 my first hook = program --gogog ${PREUPLOAD_FILES}162 another hook = funtimes --i-need "some space" ${PREUPLOAD_FILES}202 files match in a specific commit, then the hook will be skipped for that commit.238 * `bpfmt`: used for the `bpfmt` builtin hook.239 * `clang-format`: used for the `clang_format` builtin hook.240 * `cpplint`: used for the `cpplint` builtin hook.241 * `git-clang-format`: used for the `clang_format` builtin hook.[all …]
313 for name, hook in hooks:315 hook_results = hook(project, commit, desc, diff)
24 init-hook='import sys; sys.path.append(os.path.join(os.path.expandvars("$ANDROID_BUILD_TOP"), "exte…
12 init-hook='import sys, os; sys.path.append(os.getcwd() + '/atest')'
16 init-hook='import sys, os; sys.path.append(os.getcwd() + '/atest')'
22 #init-hook=