read_config_files

catkit2.config.read_config_files(config_files)

Read all configuration files and return a single configuration.

config_files is an ordered list. Files later in this list will overwrite the read in values from files earlier in the list. Each file creates its own section in the returned configuration dictionary, named after its filename without file extension.

config_fileslist of Path objects

A list of configuration files to be read in.

dict

A dictionary containing all configuration as read in from the files.