generated from jCloud/repository-template
refactor(utils): define module exports
Added an __all__ variable to the utility module.
This commit is contained in:
1 file changed
+10
@@ -27,6 +27,16 @@ except ImportError:
|
|||||||
from typing_extensions import deprecated
|
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.')
|
@deprecated('Use pathlib.Path instead.')
|
||||||
class ExistingDirectory(pathlib.Path):
|
class ExistingDirectory(pathlib.Path):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in new issue
Block a user