config

Configuration module.

Functions

Summary

_check_input_exists

Check that the input path config.base_path / input_var exists.

_check_symmetric_io_definition

Check that input_var_name and output_var_name are both None or both not None.

_str_list_factory

Ensure that a list of arbitrary argument is List[str].

expand_io_paths

Expand relative io paths with base_path from config.

find_config

Find config file based on its name and start path, by traversing parent paths.

load_config

Load config from file.

load_toml_config

Load config from toml config file.

Classes

Summary

CodeGenerators

Valid code generator values.

RccKwargs

Keyword arguments to be used with compile_resource_file.

UicKwargs

Keyword arguments to be used with compile_ui_file.

Exceptions

Exception Summary

ConfigNotFoundError

Error thrown when the config file could not be found.

QtDevHelperConfigError

Error thrown when accessing functionality with insufficient config.