From 8f1019b0fe466224b098eb80601ae6022e81dddd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 2 May 2023 16:37:23 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- dvc/utils/diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/utils/diff.py b/dvc/utils/diff.py index a96fd7cb5b..de217b5dcf 100644 --- a/dvc/utils/diff.py +++ b/dvc/utils/diff.py @@ -26,7 +26,7 @@ def _diff_vals(old, new, with_unchanged): res = {"old": old, "new": new} if isinstance(new, (int, float)) and isinstance(old, (int, float)): res["diff"] = new - old - + return res