yera.config.loaders.settings
Settings loader — merges and validates settings from both config sources.
Symbols
load_and_validate_settings
load_and_validate_settings(
fatal: bool = True,
) → Settings | NoneLoad settings from pyproject.toml and yera.toml, then validate.
Resolution order per field: pyproject.toml → yera.toml → model default.
Only keys matching Settings model fields are extracted from
[tool.yera]; other keys (e.g. hub) are ignored.