[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

@@ -406,7 +406,7 @@ def normalize_mark_list(
for mark in mark_list:
mark_obj = getattr(mark, "mark", mark)
if not isinstance(mark_obj, Mark):
raise TypeError(f"got {repr(mark_obj)} instead of Mark")
raise TypeError(f"got {mark_obj!r} instead of Mark")
yield mark_obj