"""Regression test for: https://github.com/astral-sh/ruff/issues/15583""" from typing import ( List, List, ) def foo() -> List[int]: ...