[ruff] Add ruff's check and autofix existing issues

This commit is contained in:
Pierre Sassoulas
2024-02-02 14:49:15 +01:00
parent bdfc5c80d8
commit 514376fe29
19 changed files with 39 additions and 36 deletions

View File

@@ -914,16 +914,16 @@ class TestAssert_reprcompare:
assert expl == [
r"'hyv\xe4' == 'hyva\u0308'",
"",
f"- {str(right)}",
f"+ {str(left)}",
f"- {right!s}",
f"+ {left!s}",
]
expl = callequal(left, right, verbose=2)
assert expl == [
r"'hyv\xe4' == 'hyva\u0308'",
"",
f"- {str(right)}",
f"+ {str(left)}",
f"- {right!s}",
f"+ {left!s}",
]