From 42812bb108702a0cc0c7c268462ad10788b7e4c6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 14:31:51 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- index_calculator/__init__.py | 2 ++ index_calculator/_ci_netcdfattrs.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/index_calculator/__init__.py b/index_calculator/__init__.py index 6514d0c..1d229ae 100644 --- a/index_calculator/__init__.py +++ b/index_calculator/__init__.py @@ -15,6 +15,7 @@ from ._tables import xjson # noqa from .index_calculator import IndexCalculator as index_calculator + def _get_version(): __version__ = "unknown" try: @@ -23,6 +24,7 @@ def _get_version(): pass return __version__ + __version__ = _get_version() preprocessing.__module__ = __name__ diff --git a/index_calculator/_ci_netcdfattrs.py b/index_calculator/_ci_netcdfattrs.py index bf7724d..2e00aee 100644 --- a/index_calculator/_ci_netcdfattrs.py +++ b/index_calculator/_ci_netcdfattrs.py @@ -3,6 +3,7 @@ import xclim as xc + def _get_version(): __version__ = "unknown" try: @@ -11,6 +12,7 @@ def _get_version(): pass return __version__ + __version__ = _get_version()