[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-05-05 22:25:38 +02:00
committed by David de la Iglesia Castro
parent dfa5f4d9a0
commit 8ecc66ae9a
+1 -1
View File
@@ -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