We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91cb4d6 commit ef2179cCopy full SHA for ef2179c
1 file changed
varname/utils.py
@@ -551,7 +551,7 @@ def _(node: Union[ast.Attribute, ast.Subscript]) -> ast.Call:
551
keywords=[],
552
)
553
else:
554
- return ast.Call(
+ return ast.Call( # type: ignore
555
func=ast.Attribute(
556
value=node.value,
557
attr=(
@@ -639,7 +639,7 @@ def _(node: ast.Compare) -> ast.Call:
639
640
641
642
643
644
value=node.left,
645
attr=CMP2MAGIC[type(node.ops[0])],
@@ -673,7 +673,7 @@ def _(node: ast.BinOp) -> ast.Call:
673
674
675
676
677
678
679
attr=OP2MAGIC[type(node.op)],
0 commit comments