Lines Matching refs:output_api
39 def _CheckLicenses(input_api, output_api): argument
42 output_api.PresubmitError(v) for v in licenses.ScanThirdPartyDirs()
46 def _CheckDeps(input_api, output_api): argument
51 return [output_api.PresubmitError(v) for v in deps_results]
125 def _CheckChangeLintsClean(input_api, output_api): argument
143 res_type = output_api.PresubmitError
145 res_type = output_api.PresubmitPromptWarning
151 def _CommonChecks(input_api, output_api): argument
162 output_api,
168 input_api, output_api))
172 input_api.canned_checks.CheckGenderNeutral(input_api, output_api))
176 input_api.canned_checks.CheckChangeTodoHasOwner(input_api, output_api))
179 results.extend(_CheckChangeLintsClean(input_api, output_api))
184 output_api,
189 input_api.canned_checks.CheckGNFormatted(input_api, output_api))
192 results.extend(_CheckDeps(input_api, output_api))
195 results.extend(_CheckLicenses(input_api, output_api))
200 def CheckChangeOnUpload(input_api, output_api): argument
203 results = CheckChangeOnCommit(input_api, output_api)
205 input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api))
209 def CheckChangeOnCommit(input_api, output_api): argument
211 return _CommonChecks(input_api, output_api)