(cwd: Path, *args: str)
| 2147 | |
| 2148 | |
| 2149 | def _git(cwd: Path, *args: str) -> str: |
| 2150 | return subprocess.run( |
| 2151 | ["git", "-c", "user.name=t", "-c", "user.email=t@example.com", *args], |
| 2152 | cwd=cwd, |
| 2153 | capture_output=True, |
| 2154 | text=True, |
| 2155 | check=True, |
| 2156 | ).stdout.strip() |
| 2157 | |
| 2158 | |
| 2159 | def _write_project(path: Path) -> None: |
no test coverage detected