We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 755b479 + e2ccc4e commit cf70747Copy full SHA for cf70747
mypy/checker.py
@@ -2932,10 +2932,7 @@ def visit_assignment_stmt(self, s: AssignmentStmt) -> None:
2932
2933
if s.unanalyzed_type is not None:
2934
for lvalue in s.lvalues:
2935
- if (
2936
- isinstance(lvalue, NameExpr)
2937
- and isinstance(var := lvalue.node, Var)
2938
- ):
+ if isinstance(lvalue, NameExpr) and isinstance(var := lvalue.node, Var):
2939
self.search_deprecated(var.type, s, set())
2940
2941
# Avoid type checking type aliases in stubs to avoid false
0 commit comments