Hacker News new | ask | show | jobs
by notpushkin 632 days ago
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...