from __future__ import annotations

import sys
from pathlib import Path


# Allow running `pytest` without having to set PYTHONPATH=.
_ROOT = Path(__file__).resolve().parent.parent
if str(_ROOT) not in sys.path:
    sys.path.insert(0, str(_ROOT))
