Contrived example:
def handleMatch(self, m: Match[str], data: str) -> Union[Tuple[None, None, None], Tuple[None, None, None], Tuple[Element, int, int], Tuple[Element, int, int]]:
pass
Ruff:
def handleMatch(self, m: Match[str], data: str) -> (
Union[
Tuple[None, None, None],
Tuple[None, None, None],
Tuple[Element, int, int],
Tuple[Element, int, int],
]
):
pass
Black:
def handleMatch(
self, m: Match[str], data: str
) -> Union[
Tuple[None, None, None],
Tuple[None, None, None],
Tuple[Element, int, int],
Tuple[Element, int, int],
]:
pass