(command: list[str])
| 424 | |
| 425 | |
| 426 | def _run_command(command: list[str]) -> tuple[bool, str]: |
| 427 | result = subprocess.run(command, cwd=PROJECT_DIR, capture_output=True, text=True) |
| 428 | output = "\n".join([result.stdout.strip(), result.stderr.strip()]).strip() |
| 429 | return result.returncode == 0, output |
| 430 | |
| 431 | |
| 432 | def _format_command(command: list[str]) -> str: |
no test coverage detected