load_config

load_config(start_path: Path | str | None = None) Config[source]

Load config from file.

Parameters:

start_path (Optional[Union[Path,str]]) – Path to start looking for the config file. Defaults to None which means the current dir will be used

Returns:

Configuration instance generated from file.

Return type:

Config

Raises:

ConfigNotFoundError – If no config file containing ‘qt-dev-helper’ config could be found.