Skip to content

Commit ee700a3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3b23303 commit ee700a3

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

mypyc/irbuild/expression.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,15 @@
4949
UnaryExpr,
5050
Var,
5151
)
52-
from mypy.types import AnyType, Instance, ProperType, TupleType, TypeOfAny, TypeType, get_proper_type
52+
from mypy.types import (
53+
AnyType,
54+
Instance,
55+
ProperType,
56+
TupleType,
57+
TypeOfAny,
58+
TypeType,
59+
get_proper_type,
60+
)
5361
from mypyc.common import MAX_SHORT_INT
5462
from mypyc.ir.class_ir import ClassIR
5563
from mypyc.ir.func_ir import FUNC_CLASSMETHOD, FUNC_STATICMETHOD
@@ -151,12 +159,7 @@ def transform_name_expr(builder: IRBuilder, expr: NameExpr) -> Value:
151159
if typ is None:
152160
typ = AnyType(TypeOfAny.special_form)
153161
value = builder.emit_load_final(
154-
expr.node,
155-
fullname,
156-
expr.name,
157-
builder.is_native_ref_expr(expr),
158-
typ,
159-
expr.line,
162+
expr.node, fullname, expr.name, builder.is_native_ref_expr(expr), typ, expr.line
160163
)
161164
if value is not None:
162165
return value

0 commit comments

Comments
 (0)