diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e3aca2..0863c15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e * -/- +### Changed +* Python modules: Changed `__ALL__` to `__all__` (lowercase, PEP8 and PEP257 compliant). + + ## [0.4.4] - 2026-03-26 ### Changed diff --git a/src/dictIO/cpp_dict.py b/src/dictIO/cpp_dict.py index 557ca1f..65aacee 100644 --- a/src/dictIO/cpp_dict.py +++ b/src/dictIO/cpp_dict.py @@ -21,7 +21,7 @@ from _collections_abc import Iterable, Mapping -__ALL__ = [ +__all__ = [ "CppDict", ] diff --git a/src/dictIO/dict.py b/src/dictIO/dict.py index e818c38..d772922 100644 --- a/src/dictIO/dict.py +++ b/src/dictIO/dict.py @@ -29,7 +29,7 @@ ) from dictIO.utils.path import relative_path -__ALL__ = [ +__all__ = [ "SDict", ] diff --git a/src/dictIO/dict_parser.py b/src/dictIO/dict_parser.py index 7c2cb75..e00fbcf 100644 --- a/src/dictIO/dict_parser.py +++ b/src/dictIO/dict_parser.py @@ -8,7 +8,7 @@ from dictIO import DictReader, DictWriter, SDict, create_target_file_name -__ALL__ = ["DictParser"] +__all__ = ["DictParser"] logger = logging.getLogger(__name__) diff --git a/src/dictIO/dict_reader.py b/src/dictIO/dict_reader.py index 11126f9..d5144cb 100644 --- a/src/dictIO/dict_reader.py +++ b/src/dictIO/dict_reader.py @@ -44,7 +44,7 @@ from dictIO.types import K, M, V from dictIO.utils.counter import DejaVue -__ALL__ = ["DictReader"] +__all__ = ["DictReader"] logger = logging.getLogger(__name__) diff --git a/src/dictIO/dict_writer.py b/src/dictIO/dict_writer.py index 43a02a6..235eb2c 100644 --- a/src/dictIO/dict_writer.py +++ b/src/dictIO/dict_writer.py @@ -10,7 +10,7 @@ from dictIO import Formatter, NativeParser, SDict, order_keys from dictIO.types import K, V -__ALL__ = ["DictWriter", "create_target_file_name"] +__all__ = ["DictWriter", "create_target_file_name"] logger = logging.getLogger(__name__) diff --git a/src/dictIO/formatter.py b/src/dictIO/formatter.py index cdcb72b..39b1e87 100644 --- a/src/dictIO/formatter.py +++ b/src/dictIO/formatter.py @@ -21,11 +21,11 @@ if TYPE_CHECKING: from dictIO.types import K, M, S, TKey, TSingleValue, TValue, V -__ALL__ = [ - "Formatter", - "NativeFormatter", +__all__ = [ "FoamFormatter", + "Formatter", "JsonFormatter", + "NativeFormatter", "XmlFormatter", ] diff --git a/src/dictIO/parser.py b/src/dictIO/parser.py index 2a08318..6803dd1 100644 --- a/src/dictIO/parser.py +++ b/src/dictIO/parser.py @@ -24,7 +24,7 @@ if TYPE_CHECKING: import os -__ALL__ = ["Parser", "NativeParser", "FoamParser", "JsonParser", "XmlParser"] +__all__ = ["FoamParser", "JsonParser", "NativeParser", "Parser", "XmlParser"] logger = logging.getLogger(__name__)