generated from jCloud/repository-template
Refactor: define public module exports #60
No files matched your search
@@ -14,6 +14,20 @@
|
||||
|
||||
import errno
|
||||
|
||||
__all__ = [
|
||||
'NamespaceError',
|
||||
'InvalidNamespaceError',
|
||||
'NamespaceNotFoundError',
|
||||
'NamespaceExistsError',
|
||||
'PythonIdentifierError',
|
||||
'InvalidPythonIdentifierError',
|
||||
'PythonAnnotationError',
|
||||
'InvalidPythonAnnotationError',
|
||||
'PythonDefinitionError',
|
||||
'PythonArgumentStructureError',
|
||||
'DirectoryNotEmptyError',
|
||||
]
|
||||
|
||||
|
||||
class NamespaceError(ValueError):
|
||||
"""
|
||||
|
||||
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user