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 Oct 22, 2023
1 parent f8b26ad commit 00e90cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skbase/utils/deep_equals/_deep_equals.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,12 @@ def deep_equals_custom(x, y, return_msg=False, plugins=None):
sig = signature(plugin)
# check if deep_equals is an argument of the plugin
if "deep_equals" in sig.parameters:

def deep_equals_curried(x, y, return_msg=False):
return deep_equals_custom(
x, y, return_msg=return_msg, plugins=plugins
)

kwargs = {"deep_equals": deep_equals_curried}
else:
kwargs = {}
Expand Down

0 comments on commit 00e90cb

Please sign in to comment.