From 4365de27a856ef3541acc6da3a7370d4ffc7b3b3 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sat, 3 Oct 2026 18:40:22 +0200 Subject: [PATCH 1/2] refactor(utils): define public module exports Added an __all__ variable to the utility module. --- src/jcloud_docsgen/utils.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/jcloud_docsgen/utils.py b/src/jcloud_docsgen/utils.py index 8e29898..82d33b2 100644 --- a/src/jcloud_docsgen/utils.py +++ b/src/jcloud_docsgen/utils.py @@ -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): """ From 310861dacc0905f792babfbf074bf6762fb46335 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sat, 3 Oct 2026 18:42:56 +0200 Subject: [PATCH 2/2] refactor(exceptions): define public module exports Added an __all__ variable to the exceptions module. --- src/jcloud_docsgen/exceptions.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/jcloud_docsgen/exceptions.py b/src/jcloud_docsgen/exceptions.py index fa506e8..2cefa19 100644 --- a/src/jcloud_docsgen/exceptions.py +++ b/src/jcloud_docsgen/exceptions.py @@ -14,6 +14,20 @@ import errno +__all__ = [ + 'NamespaceError', + 'InvalidNamespaceError', + 'NamespaceNotFoundError', + 'NamespaceExistsError', + 'PythonIdentifierError', + 'InvalidPythonIdentifierError', + 'PythonAnnotationError', + 'InvalidPythonAnnotationError', + 'PythonDefinitionError', + 'PythonArgumentStructureError', + 'DirectoryNotEmptyError', +] + class NamespaceError(ValueError): """