Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 31, 2022
1 parent cfe371b commit 260f13e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pylint/checkers/refactoring/refactoring_checker.py
Expand Up @@ -1147,7 +1147,9 @@ def _looks_like_infinite_iterator(param: nodes.NodeNG) -> bool:
and not utils.node_ignores_exception(node, StopIteration)
and not _looks_like_infinite_iterator(node.args[0])
):
self.add_message("stop-iteration-return", node=node, confidence=INFERENCE)
self.add_message(
"stop-iteration-return", node=node, confidence=INFERENCE
)

def _check_nested_blocks(
self,
Expand Down

0 comments on commit 260f13e

Please sign in to comment.