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] authored and daavoo committed May 5, 2023
1 parent 1d5596c commit 8f1019b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/utils/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 8f1019b

Please sign in to comment.