(args: list[str], cwd: Path, env: dict[str, str] | None = None)
| 70 | |
| 71 | |
| 72 | def _run(args: list[str], cwd: Path, env: dict[str, str] | None = None) -> subprocess.CompletedProcess: |
| 73 | env = dict(env if env is not None else os.environ, GRAPHIFY_NO_AUTO_REFRESH="1", **_VIZ_ENV) |
| 74 | return subprocess.run([PYTHON, "-m", "graphify", *args], cwd=cwd, |
| 75 | capture_output=True, text=True, env=env) |
| 76 | |
| 77 | |
| 78 | def _html_arcs(html_path: Path) -> set[tuple[str, str]]: |
no test coverage detected