D | hooks.py | 268 def _check_cmd(hook_name, project, commit, cmd, fixup_func=None, **kwargs): argument 270 return [rh.results.HookCommandResult(hook_name, project, commit, 283 def check_custom(project, commit, _desc, diff, options=None, **kwargs): argument 285 return _check_cmd(options.name, project, commit, options.args((), diff), 289 def check_checkpatch(project, commit, _desc, diff, options=None): argument 292 cmd = ([tool, '-', '--root', project.dir] + 294 return _check_cmd('checkpatch.pl', project, commit, cmd, 298 def check_clang_format(project, commit, _desc, diff, options=None): argument 308 return _check_cmd('clang-format', project, commit, cmd, 312 def check_google_java_format(project, commit, _desc, _diff, options=None): argument [all …]
|