Lines Matching refs:CheckResult
80 # - return either a CheckResult, or a list of [(subcheck_name, CheckResult)]
87 CheckResult = t.NamedTuple(
88 'CheckResult',
98 task: multiprocessing.pool.ApplyResult) -> CheckResult:
99 """Returns the result of task(); if that raises, returns a CheckResult.
101 The task is expected to return a CheckResult on get().
106 return CheckResult(
115 python_files: t.Iterable[str]) -> CheckResult:
123 return CheckResult(
143 return CheckResult(
151 return CheckResult(
158 def check_python_file_headers(python_files: t.Iterable[str]) -> CheckResult:
188 return CheckResult(
193 return CheckResult(
202 files: t.Iterable[str]) -> CheckResult:
206 return CheckResult(
215 return CheckResult(
237 files: t.Iterable[str]) -> t.Union[t.List[CheckResult], CheckResult]:
245 def try_run_cros_lint(cros_binary: str) -> t.Optional[CheckResult]:
256 return CheckResult(
274 def check_result_from_command(command: t.List[str]) -> CheckResult:
277 return CheckResult(
286 def run_pylint() -> CheckResult:
295 def run_golint() -> CheckResult:
304 return CheckResult(
321 return CheckResult(
338 return CheckResult(
347 return CheckResult(
357 return CheckResult(
366 return CheckResult(
374 return CheckResult(
384 files: t.List[str]) -> CheckResult:
389 return CheckResult(
401 check_name: str, check_results: t.Union[t.List[CheckResult], CheckResult],
409 if isinstance(check_results, CheckResult):