Lines Matching defs:str
25 def run_command_unchecked(command: t.List[str],
26 cwd: str,
27 env: t.Dict[str, str] = None) -> t.Tuple[int, str]:
43 def has_executable_on_path(exe: str) -> bool:
48 def escape_command(command: t.Iterable[str]) -> str:
56 def remove_deleted_files(files: t.Iterable[str]) -> t.List[str]:
60 def is_file_executable(file_path: str) -> bool:
67 def env_with_pythonpath(toolchain_utils_root: str) -> t.Dict[str, str]:
91 ('output', str),
92 ('autofix_commands', t.List[t.List[str]]),
114 def check_yapf(toolchain_utils_root: str,
115 python_files: t.Iterable[str]) -> CheckResult:
158 def check_python_file_headers(python_files: t.Iterable[str]) -> CheckResult:
200 def check_py_format(toolchain_utils_root: str,
202 files: t.Iterable[str]) -> CheckResult:
231 def find_chromeos_root_directory() -> t.Optional[str]:
236 toolchain_utils_root: str, thread_pool: multiprocessing.pool.ThreadPool,
237 files: t.Iterable[str]) -> t.Union[t.List[CheckResult], CheckResult]:
245 def try_run_cros_lint(cros_binary: str) -> t.Optional[CheckResult]:
274 def check_result_from_command(command: t.List[str]) -> CheckResult:
382 def check_tests(toolchain_utils_root: str,
384 files: t.List[str]) -> CheckResult:
396 def detect_toolchain_utils_root() -> str:
401 check_name: str, check_results: t.Union[t.List[CheckResult], CheckResult],
402 start_time: datetime.datetime) -> t.Tuple[bool, t.List[t.List[str]]]:
406 def indent_block(text: str) -> str:
450 def try_autofix(all_autofix_commands: t.List[t.List[str]],
451 toolchain_utils_root: str) -> None:
485 def find_repo_root(base_dir: str) -> t.Optional[str]:
498 def maybe_reexec_inside_chroot(autofix: bool, files: t.List[str]) -> None:
527 def rebase_path(path: str) -> str:
569 def main(argv: t.List[str]) -> int: