"""Pytest configuration — ensures the project root is on sys.path for all tests.""" from __future__ import annotations import sys from pathlib import Path PROJECT_ROOT = str(Path(__file__).resolve().parent) if PROJECT_ROOT not in sys.path: sys.path.insert(0, PROJECT_ROOT)