Lines Matching defs:str
27 command: t.List[str], cwd: str, env: t.Dict[str, str] = None
44 def has_executable_on_path(exe: str) -> bool:
49 def escape_command(command: t.Iterable[str]) -> str:
57 def remove_deleted_files(files: t.Iterable[str]) -> t.List[str]:
61 def is_file_executable(file_path: str) -> bool:
68 def env_with_pythonpath(toolchain_utils_root: str) -> t.Dict[str, str]:
117 toolchain_utils_root: str, python_files: t.Iterable[str]
172 toolchain_utils_root: str, black: Path, python_files: t.Iterable[str]
251 def check_python_file_headers(python_files: t.Iterable[str]) -> CheckResult:
296 toolchain_utils_root: str,
298 files: t.Iterable[str],
344 toolchain_utils_root: str,
346 files: t.Iterable[str],
355 def try_run_cros_lint(cros_binary: str) -> t.Optional[CheckResult]:
387 def check_result_from_command(command: t.List[str]) -> CheckResult:
502 toolchain_utils_root: str,
504 files: t.List[str],
523 check_name: str,
530 def indent_block(text: str) -> str:
579 all_autofix_commands: t.List[t.List[str]], toolchain_utils_root: str
621 def find_repo_root(base_dir: str) -> t.Optional[str]:
634 def maybe_reexec_inside_chroot(autofix: bool, files: t.List[str]) -> None:
667 def rebase_path(path: str) -> str:
707 def main(argv: t.List[str]) -> int: