2026-07-24 00:24:53 +02:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
2026-09-02 00:11:57 +02:00
|
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
|
|
|
SRC = ROOT / "src"
|
|
|
|
|
TESTS = Path(__file__).resolve().parent
|
|
|
|
|
for path in (SRC, TESTS):
|
|
|
|
|
if str(path) not in sys.path:
|
|
|
|
|
sys.path.insert(0, str(path))
|