Skip to content

Commit e2ccc4e

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

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mypy/checker.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@
216216
UnpackType,
217217
find_unpack_in_list,
218218
flatten_nested_unions,
219-
flatten_nested_tuples,
220219
get_proper_type,
221220
get_proper_types,
222221
is_literal_type,
@@ -2933,10 +2932,7 @@ def visit_assignment_stmt(self, s: AssignmentStmt) -> None:
29332932

29342933
if s.unanalyzed_type is not None:
29352934
for lvalue in s.lvalues:
2936-
if (
2937-
isinstance(lvalue, NameExpr)
2938-
and isinstance(var := lvalue.node, Var)
2939-
):
2935+
if isinstance(lvalue, NameExpr) and isinstance(var := lvalue.node, Var):
29402936
self.search_deprecated(var.type, s)
29412937

29422938
# Avoid type checking type aliases in stubs to avoid false

0 commit comments

Comments
 (0)