shorten return type

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
Edward 2022-12-02 12:17:25 +01:00 committed by GitHub
parent 2957802682
commit 9a41081a26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,15 +99,7 @@ class Underscore:
self, name: str
) -> Union[
Tuple[str, str, Optional[int], Optional[int]],
Tuple[
str,
str,
Optional[int],
Optional[int],
Optional[Union[str, int]],
Optional[Union[str, int]],
Optional[Union[str, int]],
],
Tuple[str, str, Optional[int], Optional[int], int, int, int],
]:
if hasattr(self, "_label"):
return (