Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 23, 2024
1 parent f6afcf8 commit 4728254
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions skbase/base/_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4728254

Please sign in to comment.