Skip to content

Commit ef2179c

Browse files
committed
style: fix mypy error
1 parent 91cb4d6 commit ef2179c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

varname/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def _(node: Union[ast.Attribute, ast.Subscript]) -> ast.Call:
551551
keywords=[],
552552
)
553553
else:
554-
return ast.Call(
554+
return ast.Call( # type: ignore
555555
func=ast.Attribute(
556556
value=node.value,
557557
attr=(
@@ -639,7 +639,7 @@ def _(node: ast.Compare) -> ast.Call:
639639
keywords=[],
640640
)
641641
else:
642-
return ast.Call(
642+
return ast.Call( # type: ignore
643643
func=ast.Attribute(
644644
value=node.left,
645645
attr=CMP2MAGIC[type(node.ops[0])],
@@ -673,7 +673,7 @@ def _(node: ast.BinOp) -> ast.Call:
673673
keywords=[],
674674
)
675675
else:
676-
return ast.Call(
676+
return ast.Call( # type: ignore
677677
func=ast.Attribute(
678678
value=node.left,
679679
attr=OP2MAGIC[type(node.op)],

0 commit comments

Comments
 (0)