Skip to content

Commit a48f62b

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pylint/checkers/variables.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,8 @@ def get_next_to_consume(self, node):
615615
if (
616616
found_nodes
617617
and isinstance(node.statement(future=True).parent, nodes.TryFinally)
618-
and node.statement(future=True) in node.statement(future=True).parent.finalbody
618+
and node.statement(future=True)
619+
in node.statement(future=True).parent.finalbody
619620
):
620621
filtered_nodes = [
621622
n

0 commit comments

Comments
 (0)