Lines Matching refs:output_api
11 def _RunPylint(input_api, output_api): argument
14 input_api, output_api, pylintrc='pylintrc'))
17 def _RunUnitTests(input_api, output_api): argument
29 message_type = (output_api.PresubmitError if input_api.is_committing else
30 output_api.PresubmitPromptWarning)
53 def _EnsureNoPylibUse(input_api, output_api): argument
72 output_api.PresubmitError(
79 def CommonChecks(input_api, output_api): argument
81 output += _RunPylint(input_api, output_api)
82 output += _RunUnitTests(input_api, output_api)
83 output += _EnsureNoPylibUse(input_api, output_api)
87 def CheckChangeOnUpload(input_api, output_api): argument
88 return CommonChecks(input_api, output_api)
91 def CheckChangeOnCommit(input_api, output_api): argument
92 return CommonChecks(input_api, output_api)