(
repo_path: Path, args: list[str], check: bool = True
)
| 508 | |
| 509 | |
| 510 | def _run_git_command( |
| 511 | repo_path: Path, args: list[str], check: bool = True |
| 512 | ) -> subprocess.CompletedProcess[str]: |
| 513 | return subprocess.run( # noqa: S603 |
| 514 | ["git", "-C", str(repo_path), *args], # noqa: S607 |
| 515 | capture_output=True, |
| 516 | text=True, |
| 517 | check=check, |
| 518 | ) |
| 519 | |
| 520 | |
| 521 | def _run_git_command_raw( |
no outgoing calls
no test coverage detected