Merge pull request #7783 from radarhere/lint

Lint fix
This commit is contained in:
Hugo van Kemenade 2024-02-07 09:22:29 +02:00 committed by GitHub
commit 5bd8fd1dc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -776,9 +776,11 @@ def test_rectangle_translucent_outline(bbox: Coords) -> None:
[(10, 20, 190, 180), ([10, 20], [190, 180]), ((10, 20), (190, 180))], [(10, 20, 190, 180), ([10, 20], [190, 180]), ((10, 20), (190, 180))],
) )
def test_rounded_rectangle( def test_rounded_rectangle(
xy: tuple[int, int, int, int] xy: (
tuple[int, int, int, int]
| tuple[list[int]] | tuple[list[int]]
| tuple[tuple[int, int], tuple[int, int]] | tuple[tuple[int, int], tuple[int, int]]
)
) -> None: ) -> None:
# Arrange # Arrange
im = Image.new("RGB", (200, 200)) im = Image.new("RGB", (200, 200))