Python type hints have evolved remarkably across versions, for example from Union[str, List[str]] to str | list[str]. I know that both are valid, but the team and I find the newer more readable.
Is there a tool to migrate an entire codebase?
Python type hints have evolved remarkably across versions, for example from Union[str, List[str]] to str | list[str]. I know that both are valid, but the team and I find the newer more readable.
Is there a tool to migrate an entire codebase?