D | hooks.py | 322 def _check_cmd(hook_name, project, commit, cmd, fixup_func=None, **kwargs): argument 324 return [rh.results.HookCommandResult(hook_name, project, commit, 337 def check_custom(project, commit, _desc, diff, options=None, **kwargs): argument 339 return _check_cmd(options.name, project, commit, options.args((), diff), 343 def check_bpfmt(project, commit, _desc, diff, options=None): argument 353 data = rh.git.get_file_content(commit, d.file) 357 'bpfmt', project, commit, error=result.stdout, 362 def check_checkpatch(project, commit, _desc, diff, options=None): argument 367 return _check_cmd('checkpatch.pl', project, commit, cmd, 368 input=rh.git.get_patch(commit)) [all …]
|