Skip to content

Commit f7a196c

Browse files
crazybolilloPierre-Sassoulas
authored andcommitted
Remove useless return statement
This useless return was discovered after improving the useless-return checker. It has been removed to fix the warning.
1 parent 96b1c47 commit f7a196c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pylint/checkers/imports.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,6 @@ def _check_misplaced_future(self, node: nodes.ImportFrom) -> None:
686686
isinstance(prev, nodes.ImportFrom) and prev.modname == "__future__"
687687
):
688688
self.add_message("misplaced-future", node=node)
689-
return
690689

691690
def _check_same_line_imports(self, node: nodes.ImportFrom) -> None:
692691
# Detect duplicate imports on the same line.

0 commit comments

Comments
 (0)