From fd1cf9b3374a29b5076054e2a7c0fbb00315fc41 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Tue, 24 Sep 2024 00:43:37 +0200 Subject: [PATCH] Add missing newlines, allow init exports Signed-off-by: Georg Pfuetzenreuter --- pyacl/__init__.py | 2 +- pyacl/__version__.py | 2 +- ruff.toml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyacl/__init__.py b/pyacl/__init__.py index d7ef4ef..54138a1 100644 --- a/pyacl/__init__.py +++ b/pyacl/__init__.py @@ -8,4 +8,4 @@ An English copy of the Licence is shipped in a file called LICENSE along with th You may obtain copies of the Licence in any of the official languages at https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12. """ -from .__version__ import __version__ \ No newline at end of file +from .__version__ import __version__ as __version__ diff --git a/pyacl/__version__.py b/pyacl/__version__.py index 7ce86c9..8a81504 100644 --- a/pyacl/__version__.py +++ b/pyacl/__version__.py @@ -1 +1 @@ -__version__ = '1.0.4' \ No newline at end of file +__version__ = '1.0.4' diff --git a/ruff.toml b/ruff.toml index bddbc59..2b27633 100644 --- a/ruff.toml +++ b/ruff.toml @@ -28,6 +28,7 @@ preview = true explicit-preview-rules = true [lint.per-file-ignores] +"pyacl/__init__.py" = ["PLC0414"] # allow explicit re-exports / avoid conflict with F401 "tests/*.py" = ["S101"] # allow "assert" in test suites [lint.pydocstyle]