Skip to content

Commit 256f282

Browse files
[skip ci] Update TODO
1 parent 33a520f commit 256f282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/checkers/variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2630,7 +2630,7 @@ def _loopvar_name(self, node: astroid.Name) -> None:
26302630
else_stmt, (nodes.Return, nodes.Raise, nodes.Break, nodes.Continue)
26312631
):
26322632
return
2633-
# TODO: 4.0: Consider using RefactoringChecker._is_function_def_never_returning
2633+
# TODO: 4.0: Consider using utils.is_terminating_func
26342634
if isinstance(else_stmt, nodes.Expr) and isinstance(
26352635
else_stmt.value, nodes.Call
26362636
):

0 commit comments

Comments
 (0)