"""Ensure src/ is on sys.path for tooling like pytest-django.""" import sys from pathlib import Path ROOT = Path(__file__).resolve().parent SRC = ROOT / "src" if str(SRC) not in sys.path: sys.path.insert(0, str(SRC))