(args: list[str], cwd: Path, env: dict[str, str] | None = None)
| 17 | |
| 18 | |
| 19 | def _run(args: list[str], cwd: Path, env: dict[str, str] | None = None) -> subprocess.CompletedProcess: |
| 20 | return subprocess.run( |
| 21 | [PYTHON, "-m", "graphify"] + args, |
| 22 | cwd=cwd, |
| 23 | capture_output=True, |
| 24 | text=True, |
| 25 | env=env, |
| 26 | ) |
| 27 | |
| 28 | |
| 29 | def _make_graph(tmp_path: Path) -> Path: |
no test coverage detected