diff --git a/tools/codemod.py b/tools/codemod.py index 34173f04e..1de08c357 100644 --- a/tools/codemod.py +++ b/tools/codemod.py @@ -35,7 +35,7 @@ def parse_module(name: str, /) -> ast.Module: if sys.version_info >= (3, 9): def unparse(obj: ast.AST, /) -> str: - return ast.unparse(obj) # type: ignore + return ast.unparse(obj) else: def unparse(obj: ast.AST, /) -> str: