Skip to content

griffe-modernized-annotations¤


This extension modernizes type annotations by adopting PEP 585 and PEP 604. For example, it will transform Union[A, B] into A | B, and List[str] into list[str].