initial commit

This commit is contained in:
Pawel
2026-05-21 07:21:13 -04:00
commit d510d07ed9
50 changed files with 5359 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from __future__ import annotations
from pathlib import Path
def find_project_root(start: str | Path | None = None) -> Path:
current = Path(start).resolve() if start is not None else Path.cwd().resolve()
for candidate in [current, *current.parents]:
if (candidate / "pyproject.toml").exists() and (candidate / "configs").exists():
return candidate
return current