Lines Matching refs:input_api
6 def CheckChangeOnUpload(input_api, output_api): argument
7 return _CommonChecks(input_api, output_api)
10 def CheckChangeOnCommit(input_api, output_api): argument
11 return _CommonChecks(input_api, output_api)
14 def _CommonChecks(input_api, output_api): argument
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
24 catapult_dir = input_api.os_path.join(project_dir, '..')
28 input_api.os_path.join(catapult_dir, 'catapult_base'),
30 input_api.os_path.join(catapult_dir, 'third_party', 'mock'),
31 input_api.os_path.join(catapult_dir, 'third_party', 'pyfakefs'),