|
17 | 17 | """ |
18 | 18 | from __future__ import annotations |
19 | 19 |
|
| 20 | +__all__ = [ |
| 21 | + 'CONFIG_FILENAME', 'DEFAULT_FILENAME', 'ROOT_NAME', 'REDACTED_TOMBSTONE', |
| 22 | + 'ConfigView', 'RootView', 'Subview', 'Configuration', |
| 23 | + 'ConfigSource', 'EnvSource', 'YamlSource', |
| 24 | + 'ConfigTypeError', 'NotFoundError', 'ConfigError', |
| 25 | +] |
| 26 | + |
20 | 27 | import errno |
21 | 28 | import os |
22 | 29 | from pathlib import Path |
|
30 | 37 | from .sources import ConfigSource, EnvSource, YamlSource |
31 | 38 | from .exceptions import ConfigTypeError, NotFoundError, ConfigError |
32 | 39 |
|
| 40 | + |
| 41 | + |
33 | 42 | CONFIG_FILENAME = 'config.yaml' |
34 | 43 | DEFAULT_FILENAME = 'config_default.yaml' |
35 | 44 | ROOT_NAME = 'root' |
@@ -715,10 +724,3 @@ def clear(self): |
715 | 724 |
|
716 | 725 |
|
717 | 726 | # "Validated" configuration views: experimental! |
718 | | - |
719 | | -__all__ = [ |
720 | | - 'CONFIG_FILENAME', 'DEFAULT_FILENAME', 'ROOT_NAME', 'REDACTED_TOMBSTONE', |
721 | | - 'ConfigView', 'RootView', 'Subview', 'Configuration', |
722 | | - 'ConfigSource', 'EnvSource', 'YamlSource', |
723 | | - 'ConfigTypeError', 'NotFoundError', 'ConfigError', |
724 | | -] |
|
0 commit comments