import pathlib


def get_pyproject_path(base_dir=pathlib.Path(".")) -> pathlib.Path:
    """
    Get the path to the pyproject.toml file in the given `base_dir` (which
    defailts to current directry)
    """
    return base_dir / "pyproject.toml"