Skip to content

Commit 8310f1d

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypy/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5351,7 +5351,7 @@ def visit_if_stmt(self, s: IfStmt) -> None:
53515351
isinstance(e, OpExpr)
53525352
and e.op == "and"
53535353
and b.body
5354-
and all(self.is_noop_for_reachability(stmt) for stmt in b.body)
5354+
and all(self.is_noop_for_reachability(stmt) for stmt in b.body)
53555355
):
53565356
e.suppress_redundant_expr = True
53575357
t = get_proper_type(self.expr_checker.accept(e))

0 commit comments

Comments
 (0)