Skip to content

Commit 56be189

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0950c97 commit 56be189

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,7 @@ def analyze_ref_expr(self, e: RefExpr, lvalue: bool = False) -> Type:
383383
proper_result = get_proper_type(result)
384384
if isinstance(proper_result, (CallableType, Overloaded)):
385385
ctor_type = constructor_type_in_callable_context(
386-
proper_result,
387-
get_proper_type(self.type_context[-1]),
388-
self.chk.options,
386+
proper_result, get_proper_type(self.type_context[-1]), self.chk.options
389387
)
390388
if ctor_type is not None:
391389
self.chk.check_deprecated(ctor_type.definition, e)

0 commit comments

Comments
 (0)