change: parse repository root

This commit is contained in:
aclist committed 2026-11-09 11:03:50 +09:00
1 parent 370edbe01b
commit 2479cbd41b
7 files changed
+27 -19

No files matched your search

+2 -3
View File
@@ -1,10 +1,9 @@
import tomllib
from pathlib import Path
root = Path(__file__).resolve().parents[1]
from shared import get_git_root
def get_entrypoint() -> None:
root = get_git_root()
p = root.joinpath("pyproject.toml")
with open(p, "rb") as f:
t = tomllib.load(f)