import pathlib


def root() -> pathlib.Path:
    """Returns the repository root directory.

    Returns:
        pathlib.Path: The repository root directory.
    """
    return pathlib.Path(__file__).parent.parent.parent