(args: list[str], cwd: Path)
| 22 | |
| 23 | |
| 24 | def _run(args: list[str], cwd: Path) -> subprocess.CompletedProcess: |
| 25 | env = {k: v for k, v in os.environ.items() if k not in _LLM_ENV_KEYS} |
| 26 | return subprocess.run( |
| 27 | [PYTHON, "-m", "graphify"] + args, |
| 28 | cwd=cwd, |
| 29 | capture_output=True, |
| 30 | text=True, |
| 31 | env=env, |
| 32 | ) |
| 33 | |
| 34 | |
| 35 | def _make_docs_corpus(tmp_path: Path) -> Path: |
no test coverage detected