perun.configuration¶
Configuration module.
Attributes¶
Functions¶
|
Read INI config file and save in global configuration objects. |
|
Save key and value to configuration. |
|
Read perun environmental variables. |
|
Sanitize configuration values. |
Module Contents¶
- perun.configuration.config: configparser.ConfigParser¶
- perun.configuration.globalConfigPath¶
- perun.configuration.localConfigPath¶
- perun.configuration.read_custom_config(pathStr: str) None[source]¶
Read INI config file and save in global configuration objects.
- Parameters:
pathStr (str) – Path to configuration file.
- Return type:
None
- perun.configuration.save_to_config(key: str, value: Any) None[source]¶
Save key and value to configuration.
- Parameters:
key (str) – Option name
value (Any) – Option value
- Return type:
None