Refactor: define public module exports #60

Merged
jakob.scheid merged 2 commits from refactor/modules-all-variables into main 2026-10-03 18:50:33 +02:00
2 changed files with 24 additions and 0 deletions

No files matched your search

+14
View File
@@ -14,6 +14,20 @@
import errno
__all__ = [
'NamespaceError',
'InvalidNamespaceError',
'NamespaceNotFoundError',
'NamespaceExistsError',
'PythonIdentifierError',
'InvalidPythonIdentifierError',
'PythonAnnotationError',
'InvalidPythonAnnotationError',
'PythonDefinitionError',
'PythonArgumentStructureError',
'DirectoryNotEmptyError',
]
class NamespaceError(ValueError):
"""
+10
View File
@@ -27,6 +27,16 @@ except ImportError:
from typing_extensions import deprecated
__all__ = [
'ExistingDirectory',
'ExistingFile',
'human_readable_list',
'assert_that_is_instance',
'non_empty_str',
'get_relative_path_segments',
]
@deprecated('Use pathlib.Path instead.')
class ExistingDirectory(pathlib.Path):
"""