Enable Ruff PT006 (#88165)

* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
This commit is contained in:
Franck Nijhof
2023-02-15 14:09:50 +01:00
committed by GitHub
parent 6f38bc274a
commit ed79265843
411 changed files with 1532 additions and 1123 deletions

View File

@@ -22,7 +22,7 @@ class _AnIntFlag(IntFlag):
@pytest.mark.parametrize(
"enum_type,value,expected",
("enum_type", "value", "expected"),
[
# StrEnum valid checks
(_AStrEnum, _AStrEnum.VALUE, _AStrEnum.VALUE),