Lines Matching refs:input_api
12 def CommonChecks(input_api, output_api):
15 return input_api.os_path.join(input_api.PresubmitLocalPath(), *args)
23 output.extend(input_api.canned_checks.RunPylint(input_api, output_api))
28 input_api.canned_checks.RunUnitTestsInDirectory(
29 input_api, output_api,
30 input_api.os_path.join(input_api.PresubmitLocalPath(), 'tests'),
33 if input_api.is_committing:
34 output.extend(input_api.canned_checks.PanProjectChecks(input_api,
40 def CheckChangeOnUpload(input_api, output_api):
41 return CommonChecks(input_api, output_api)
44 def CheckChangeOnCommit(input_api, output_api):
45 return CommonChecks(input_api, output_api)