mirror of
https://github.com/aclist/dztui.git
synced 2026-11-10 03:50:38 +01:00
change: parse repository root
This commit is contained in:
1 parent
370edbe01b
commit
2479cbd41b
7 files changed
+27
-19
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user