Skip to content

Commit 4eb58d6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8b3d25a commit 4eb58d6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mypy/checkmember.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -776,10 +776,7 @@ def analyze_var(
776776
freeze_all_type_vars(t)
777777
result: Type = t
778778
typ = get_proper_type(typ)
779-
if (
780-
var.is_initialized_in_class
781-
and (not is_instance_var(var) or mx.is_operator)
782-
):
779+
if var.is_initialized_in_class and (not is_instance_var(var) or mx.is_operator):
783780
call_type = _analyze_member_access("__call__", typ, mx)
784781
if isinstance(call_type, FunctionLike) and not call_type.is_type_obj():
785782
if mx.is_lvalue:

0 commit comments

Comments
 (0)