LibCST
LibCST copied to clipboard
Codemod idea: change annotation strings to not strings
Latest Python version allows to change:
def foo() -> "A":
...
into:
from __future__ import annotations
def foo() -> A:
...
It would be nice if there is a codemod that removes the quotations/string markers from annotations so that one can fully use the annotations future feature ;).