Replace most type hint imports from typing package with built-in type hints (e.g., List -> list, Optional[str] -> str | None)
My goal with this import cleanup is to prepare the repo for a similar cleanup for the project dependencies: it's harder to tell which packages aren't actually required as dependencies if some packages are imported but never used.
typing
package with built-in type hints (e.g.,List
->list
,Optional[str]
->str | None
)My goal with this import cleanup is to prepare the repo for a similar cleanup for the project dependencies: it's harder to tell which packages aren't actually required as dependencies if some packages are imported but never used.