[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
0b87306ec6
commit
fb3b1daebb
|
@ -512,8 +512,7 @@ def _compare_eq_dict(
|
||||||
% (len_extra_left, "" if len_extra_left == 1 else "s")
|
% (len_extra_left, "" if len_extra_left == 1 else "s")
|
||||||
)
|
)
|
||||||
explanation.extend(
|
explanation.extend(
|
||||||
highlighter(pprint.pformat({k: left[k] for k in extra_left}))
|
highlighter(pprint.pformat({k: left[k] for k in extra_left})).splitlines()
|
||||||
.splitlines()
|
|
||||||
)
|
)
|
||||||
extra_right = set_right - set_left
|
extra_right = set_right - set_left
|
||||||
len_extra_right = len(extra_right)
|
len_extra_right = len(extra_right)
|
||||||
|
@ -523,8 +522,7 @@ def _compare_eq_dict(
|
||||||
% (len_extra_right, "" if len_extra_right == 1 else "s")
|
% (len_extra_right, "" if len_extra_right == 1 else "s")
|
||||||
)
|
)
|
||||||
explanation.extend(
|
explanation.extend(
|
||||||
highlighter(pprint.pformat({k: right[k] for k in extra_right}))
|
highlighter(pprint.pformat({k: right[k] for k in extra_right})).splitlines()
|
||||||
.splitlines()
|
|
||||||
)
|
)
|
||||||
return explanation
|
return explanation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue