From 720b06c4e120f03ef1fa7bf272446a6e0ce7c9cb Mon Sep 17 00:00:00 2001 From: Claas Date: Thu, 26 Mar 2026 21:41:07 +0100 Subject: [PATCH 1/4] Python modules: Changed __ALL__ to __all__ (lowercase, PEP8 and PEP257 compliant). --- src/dictIO/cpp_dict.py | 2 +- src/dictIO/dict.py | 2 +- src/dictIO/dict_parser.py | 2 +- src/dictIO/dict_reader.py | 2 +- src/dictIO/dict_writer.py | 2 +- src/dictIO/formatter.py | 2 +- src/dictIO/parser.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/dictIO/cpp_dict.py b/src/dictIO/cpp_dict.py index 557ca1ff..65aacee1 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 e818c383..d7729223 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 7c2cb752..e00fbcf5 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 11126f99..d5144cb2 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 43a02a64..235eb2c8 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 cdcb72b7..61fa5ae7 100644 --- a/src/dictIO/formatter.py +++ b/src/dictIO/formatter.py @@ -21,7 +21,7 @@ if TYPE_CHECKING: from dictIO.types import K, M, S, TKey, TSingleValue, TValue, V -__ALL__ = [ +__all__ = [ "Formatter", "NativeFormatter", "FoamFormatter", diff --git a/src/dictIO/parser.py b/src/dictIO/parser.py index 2a083185..87c8dc48 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__ = ["Parser", "NativeParser", "FoamParser", "JsonParser", "XmlParser"] logger = logging.getLogger(__name__) From df6ca4f54060af78ae198855c00dab87b5c72b58 Mon Sep 17 00:00:00 2001 From: Claas Date: Thu, 26 Mar 2026 21:41:08 +0100 Subject: [PATCH 2/4] Updated CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e3aca24..859a29dd 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 From b4a8b05305cdfa6a80eea35116c00965b51bc31c Mon Sep 17 00:00:00 2001 From: Claas Date: Thu, 26 Mar 2026 22:10:39 +0100 Subject: [PATCH 3/4] updated CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 859a29dd..0863c15b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ 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). +* Python modules: Changed `__ALL__` to `__all__` (lowercase, PEP8 and PEP257 compliant). ## [0.4.4] - 2026-03-26 From 6d8d9d5cc80e8546781b7601df70bea0ffbb2cdd Mon Sep 17 00:00:00 2001 From: Claas Date: Thu, 26 Mar 2026 22:36:17 +0100 Subject: [PATCH 4/4] ruff check --- src/dictIO/formatter.py | 4 ++-- src/dictIO/parser.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dictIO/formatter.py b/src/dictIO/formatter.py index 61fa5ae7..39b1e87e 100644 --- a/src/dictIO/formatter.py +++ b/src/dictIO/formatter.py @@ -22,10 +22,10 @@ from dictIO.types import K, M, S, TKey, TSingleValue, TValue, V __all__ = [ - "Formatter", - "NativeFormatter", "FoamFormatter", + "Formatter", "JsonFormatter", + "NativeFormatter", "XmlFormatter", ] diff --git a/src/dictIO/parser.py b/src/dictIO/parser.py index 87c8dc48..6803dd19 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__)