adgtk.utils.settings

Utilities for handling settings.

adgtk.utils.settings.load_settings(file_override: str | None = None) SimpleNamespace

Loads the settings file. Note, giving the user the option to use either YAML or TOML.

Args:
file_override (Union[str, None], optional): override check for

settings.[toml|yaml]. Defaults to None.

Raises:

FileNotFoundError: File is not found

Returns:

SimpleNamespace: settings