Lines Matching refs:options

299 def check_custom(project, commit, _desc, diff, options=None, **kwargs):  argument
301 return _check_cmd(options.name, project, commit, options.args((), diff),
305 def check_bpfmt(project, commit, _desc, diff, options=None): argument
311 bpfmt = options.tool_path('bpfmt')
312 cmd = [bpfmt, '-l'] + options.args((), filtered)
324 def check_checkpatch(project, commit, _desc, diff, options=None): argument
328 options.args(('--ignore=GERRIT_CHANGE_ID',), diff))
333 def check_clang_format(project, commit, _desc, diff, options=None): argument
336 clang_format = options.tool_path('clang-format')
337 git_clang_format = options.tool_path('git-clang-format')
340 options.args(('--style', 'file', '--commit', commit), diff))
347 def check_google_java_format(project, commit, _desc, _diff, options=None): argument
351 google_java_format = options.tool_path('google-java-format')
352 google_java_format_diff = options.tool_path('google-java-format-diff')
355 '--commit', commit] + options.args()
362 def check_commit_msg_bug_field(project, commit, desc, _diff, options=None): argument
368 if options.args():
386 def check_commit_msg_changeid_field(project, commit, desc, _diff, options=None): argument
392 if options.args():
436 options=None): argument
439 if options.args():
499 def check_commit_msg_test_field(project, commit, desc, _diff, options=None): argument
505 if options.args():
555 options=None): argument
567 if options.args():
674 options=None): argument
680 if options.args():
706 def check_cpplint(project, commit, _desc, diff, options=None): argument
714 cpplint = options.tool_path('cpplint')
715 cmd = [cpplint] + options.args(('${PREUPLOAD_FILES}',), filtered)
719 def check_gofmt(project, commit, _desc, diff, options=None): argument
725 gofmt = options.tool_path('gofmt')
726 cmd = [gofmt, '-l'] + options.args((), filtered)
738 def check_json(project, commit, _desc, diff, options=None): argument
740 if options.args():
759 def _check_pylint(project, commit, _desc, diff, extra_args=None, options=None): argument
768 pylint = options.tool_path('pylint')
772 ] + extra_args + options.args(('${PREUPLOAD_FILES}',), filtered)
776 def check_pylint2(project, commit, desc, diff, options=None): argument
778 return _check_pylint(project, commit, desc, diff, options=options)
781 def check_pylint3(project, commit, desc, diff, options=None): argument
785 options=options)
788 def check_rustfmt(project, commit, _desc, diff, options=None): argument
794 rustfmt = options.tool_path('rustfmt')
795 cmd = [rustfmt] + options.args(('--check', '${PREUPLOAD_FILES}',), filtered)
799 def check_xmllint(project, commit, _desc, diff, options=None): argument
838 cmd = ['xmllint'] + options.args(('${PREUPLOAD_FILES}',), filtered)
843 def check_android_test_mapping(project, commit, _desc, diff, options=None): argument
845 if options.args():
851 testmapping_format = options.tool_path('android-test-mapping-format')
853 cmd = [testmapping_format] + options.args(