Closed
Description
We might consider using the new(er) type annotation system (replace Union
with |
, use list
and so on):
- Pandas uses them universally since STYLE add future annotations where possible pandas#47769
- and based on flake8-pyi those annotations are supported in almost all cases (as far as I understand we shouldn't be using them in
pandas/_typing.pyi
where we define most/all the type aliases):
Y037 (enforcing PEP 604 syntax everywhere) is not yet fully compatible with the mypy type checker, which has a few bugs regarding PEP 604 type aliases.
Metadata
Metadata
Assignees
Labels
No labels