From 4728254ce0b60d92af534fd49e4033d46333b124 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 18:12:30 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- skbase/base/_meta.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/skbase/base/_meta.py b/skbase/base/_meta.py index 63c8b0d6..c87f557e 100644 --- a/skbase/base/_meta.py +++ b/skbase/base/_meta.py @@ -427,8 +427,7 @@ def _check_objects( if ( objs is None or (not allow_empty and len(objs) == 0) - or not (isinstance(objs, list) - or (allow_dict and isinstance(objs, dict))) + or not (isinstance(objs, list) or (allow_dict and isinstance(objs, dict))) ): raise TypeError(msg)