()
| 31 | "embeddings_cache", |
| 32 | "papers", |
| 33 | "reading_reports", |
| 34 | "wiki", |
| 35 | "webhook_task_locks", |
| 36 | ): |
| 37 | (DATA_DIR / relative).mkdir(parents=True, exist_ok=True) |
| 38 | DATA_DIR.mkdir(parents=True, exist_ok=True) |
| 39 | (RUNTIME_ROOT / "models").mkdir(parents=True, exist_ok=True) |
| 40 | |
| 41 | # .gitkeep only makes sense inside the repository; an installed runtime root |
| 42 | # is not version controlled. |
| 43 | if (PROJECT_ROOT / "pyproject.toml").is_file(): |
| 44 | for path in (DATA_DIR / ".gitkeep", RUNTIME_ROOT / "models" / ".gitkeep"): |
| 45 | path.touch(exist_ok=True) |
| 46 | |
| 47 |
no test coverage detected