generated from jCloud/repository-template
Compare commits
2
Commits
main
...
10328e6608
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10328e6608
|
||
|
|
bc802f7b38
|
No files matched your search
@@ -15,6 +15,21 @@
|
||||
import errno
|
||||
|
||||
|
||||
__all__ = [
|
||||
'NamespaceError',
|
||||
'InvalidNamespaceError',
|
||||
'NamespaceNotFoundError',
|
||||
'NamespaceExistsError',
|
||||
'PythonIdentifierError',
|
||||
'InvalidPythonIdentifierError',
|
||||
'PythonAnnotationError',
|
||||
'InvalidPythonAnnotationError',
|
||||
'PythonDefinitionError',
|
||||
'PythonArgumentStructureError',
|
||||
'DirectoryNotEmptyError',
|
||||
]
|
||||
|
||||
|
||||
class NamespaceError(ValueError):
|
||||
"""
|
||||
Base class for namespace errors.
|
||||
|
||||
@@ -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