File size: 252 Bytes
4937cba
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from __future__ import annotations

import sys
from pathlib import Path

# Ensure repository root is importable in pytest (for `src.*` imports).
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
    sys.path.insert(0, str(ROOT))