Home
last modified time | relevance | path

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

/tools/repohooks/rh/
Dconfig.py118 def custom_hook(self, hook): argument
121 self.CUSTOM_HOOKS_SECTION, hook, fallback=''))
129 def builtin_hook_option(self, hook): argument
132 self.BUILTIN_HOOKS_OPTIONS_SECTION, hook, fallback=''))
134 def builtin_hook_exclude_paths(self, hook): argument
137 self.BUILTIN_HOOKS_EXCLUDE_SECTION, hook, fallback=''))
147 for hook in self.custom_hooks:
148 options = rh.hooks.HookOptions(hook,
149 self.custom_hook(hook),
152 yield rh.hooks.CallableHook(hook, func, scope)
[all …]
Dresults.py30 def __init__(self, hook, project, commit, error, files=(), argument
45 self.hook = hook
64 def __init__(self, hook, project, commit, result, files=(), argument
66 HookResult.__init__(self, hook, project, commit,
Dhooks_unittest.py73 for hook in rh.hooks.BUILTIN_HOOKS:
369 for hook in rh.hooks.BUILTIN_HOOKS:
Dhooks.py254 hook: Callable
/tools/repohooks/
Dpre-upload.py132 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
[all …]
DREADME.md7 turn on any hook it wishes to enforce.
58 # Per-project `repo upload` hook settings.
156 that is executed. The key is used as the name of the hook for reporting purposes,
168 my first hook = program --gogog ${PREUPLOAD_FILES}
169 another hook = funtimes --i-need "some space" ${PREUPLOAD_FILES}
215 files match in a specific commit, then the hook will be skipped for that commit.
250 Used to explicitly exclude some projects when processing a hook. With this
251 section, it is possible to define a hook that should apply to the majority of
279 * `aidl-format`: used for the `aidl_format` builtin hook.
281 builtin hook.
[all …]
/tools/tradefederation/core/
DPREUPLOAD.cfg10 # `^.` is a RegExr that matches any character at the beginning, so this hook
/tools/acloud/
Dpylintrc24 init-hook='import os, sys; sys.path.append(os.path.join(os.path.expandvars("$ANDROID_BUILD_TOP"), "…
/tools/asuite/
Dpylintrc16 init-hook='import os, sys; sys.path.append(os.path.join(os.path.expandvars("$ANDROID_BUILD_TOP"), "…
/tools/external_updater/
Dpoetry.lock162 description = "plugin and hook calling mechanisms for python"
/tools/repohooks/tools/
Dpylintrc22 #init-hook=