Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 9 of 9) sorted by relevance

/tools/repohooks/rh/
Dconfig.py143 def custom_hook(self, hook): argument
145 return shlex.split(self.config.get(self.CUSTOM_HOOKS_SECTION, hook, ''))
153 def builtin_hook_option(self, hook): argument
156 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 …]
Dresults.py32 def __init__(self, hook, project, commit, error, files=(), fixup_func=None): argument
47 self.hook = hook
69 def __init__(self, hook, project, commit, result, files=(), argument
71 HookResult.__init__(self, hook, project, commit,
Dhooks_unittest.py72 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,))
/tools/repohooks/
DREADME.md7 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 …]
Dpre-upload.py313 for name, hook in hooks:
315 hook_results = hook(project, commit, desc, diff)
/tools/acloud/
Dpylintrc24 init-hook='import sys; sys.path.append(os.path.join(os.path.expandvars("$ANDROID_BUILD_TOP"), "exte…
/tools/tradefederation/core/
Dpylintrc12 init-hook='import sys, os; sys.path.append(os.getcwd() + '/atest')'
/tools/asuite/
Dpylintrc16 init-hook='import sys, os; sys.path.append(os.getcwd() + '/atest')'
/tools/repohooks/tools/
Dpylintrc22 #init-hook=