Lines Matching defs:str
90 cwd: Optional[str] = None,
91 env: Optional[Dict[str, str]] = None, argument
108 def has_executable_on_path(exe: str) -> bool:
113 def remove_deleted_files(files: Iterable[str]) -> List[str]:
117 def is_file_executable(file_path: str) -> bool:
124 def env_with_pythonpath(toolchain_utils_root: str) -> Dict[str, str]:
232 toolchain_utils_root: str, python_files: Iterable[str]
287 toolchain_utils_root: str, black: Path, python_files: Iterable[str]
369 toolchain_utils_root: str,
371 files: Iterable[str],
413 def check_python_file_headers(python_files: Iterable[str]) -> CheckResult:
458 toolchain_utils_root: str,
460 files: Iterable[str],
529 toolchain_utils_root: str,
531 files: Iterable[str],
574 toolchain_utils_root: str,
576 files: Iterable[str],
585 def try_run_cros_lint(cros_binary: str) -> Optional[CheckResult]:
617 def check_result_from_command(command: List[str]) -> CheckResult:
728 toolchain_utils_root: str,
730 files: List[str],
759 toolchain_utils_root: str,
761 files: List[str],
780 check_name: str,
787 def indent_block(text: str) -> str:
837 all_autofix_commands: List[List[str]], toolchain_utils_root: str
879 def find_repo_root(base_dir: str) -> Optional[str]:
893 autofix: bool, install_deps_only: bool, files: List[str]
927 def rebase_path(path: str) -> str:
953 def can_import_py_module(module: str) -> bool:
975 def main(argv: List[str]) -> int: