yera.config.storage.paths

Path resolution helpers for config files.

Symbols

def discover_pyproject_for_read — Discover the nearest pyproject.toml containing [tool.yera], stopping at a .git directory.
def discover_pyproject_for_write — Discover the nearest pyproject.toml (any content), stopping at a .git directory.
def yera_toml_path — Return the resolved yera.toml path.

discover_pyproject_for_read

discover_pyproject_for_read() → Path | None

Discover the nearest pyproject.toml containing [tool.yera], stopping at a .git directory.

discover_pyproject_for_write

discover_pyproject_for_write() → Path | None

Discover the nearest pyproject.toml (any content), stopping at a .git directory.

yera_toml_path

yera_toml_path() → Path

Return the resolved yera.toml path.