Skip to content

Commit

Permalink
fix(typing): Remove unused type ignore
Browse files Browse the repository at this point in the history
Was only needed prior to using a version guard
  • Loading branch information
dangotbanned committed Oct 6, 2024
1 parent 8221d6c commit db14314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/codemod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit db14314

Please sign in to comment.