From fa5a1bd1a74795bae412d67a6c82b04f54e422c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Tue, 1 Aug 2023 21:41:32 +0100 Subject: [PATCH 1/2] [MNT] update `__init__` version (#210) The version in `__init__` has not been properly updated - this PR fixes that. Upon 0.5.1 or 0.6.0, a replace from 0.5.0 should ensure consistencyl --- skbase/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skbase/__init__.py b/skbase/__init__.py index 97aabeb2..3cea7051 100644 --- a/skbase/__init__.py +++ b/skbase/__init__.py @@ -8,7 +8,7 @@ """ from typing import List -__version__: str = "0.4.6" +__version__: str = "0.5.0" __author__: List[str] = ["fkiraly", "RNKuhns", "mloning"] __all__: List[str] = [] From 26b7378df1f74b7413469596e928b956a9de42fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Tue, 1 Aug 2023 21:47:55 +0100 Subject: [PATCH 2/2] [MNT] fix linting issue from newest pre-commit versions (#211) Fixes a single precommit linting issue from the new pre-commit versions in PR https://github.com/sktime/skbase/pull/205 --- skbase/utils/deep_equals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skbase/utils/deep_equals.py b/skbase/utils/deep_equals.py index 94f5ac1b..40b6e505 100644 --- a/skbase/utils/deep_equals.py +++ b/skbase/utils/deep_equals.py @@ -80,7 +80,7 @@ def ret(is_equal, msg): else: return is_equal - if type(x) != type(y): + if type(x) is not type(y): return ret(False, f".type, x.type = {type(x)} != y.type = {type(y)}") # we now know all types are the same