Hacker News new | past | comments | ask | show | jobs | submit login

Should be possible to fix automatically though? Something like https://github.com/PyCQA/modernize, but for type hints.

Edit: there is pyupgrade which can do this: https://github.com/asottile/pyupgrade#pep-585-typing-rewrite...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: