(cwd: Path, *args: str)
| 2207 | |
| 2208 | |
| 2209 | def _git(cwd: Path, *args: str) -> str: |
| 2210 | return subprocess.run( |
| 2211 | ["git", "-c", "user.name=t", "-c", "user.email=t@example.com", *args], |
| 2212 | cwd=cwd, |
| 2213 | capture_output=True, |
| 2214 | text=True, |
| 2215 | check=True, |
| 2216 | ).stdout.strip() |
| 2217 | |
| 2218 | |
| 2219 | def _write_project(path: Path) -> None: |
no test coverage detected