plugins.registry.load_config
plugins.registry.load_config(path=None)Load the plugins config in effect.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| path | Path | None | An explicit file to read; None resolves via :func:config_path. |
None |
Returns
| Name | Type | Description |
|---|---|---|
| dict | (specs, defaults, path); the first two are empty and path is |
|
| dict | None when no config file exists. |
Raises
| Name | Type | Description |
|---|---|---|
| PluginConfigError | Before Python 3.11 without tomli installed. |