[ruff] Fix all consider [*cats, garfield] instead of cats + [garfield]

This commit is contained in:
Pierre Sassoulas
2024-02-02 15:12:50 +01:00
parent 8967c527ff
commit 233ab89f13
14 changed files with 25 additions and 28 deletions

View File

@@ -4536,5 +4536,5 @@ def test_yield_fixture_with_no_value(pytester: Pytester) -> None:
def test_deduplicate_names() -> None:
items = deduplicate_names("abacd")
assert items == ("a", "b", "c", "d")
items = deduplicate_names(items + ("g", "f", "g", "e", "b"))
items = deduplicate_names((*items, "g", "f", "g", "e", "b"))
assert items == ("a", "b", "c", "d", "g", "f", "e")