We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca139f commit a43ce55Copy full SHA for a43ce55
pylint/extensions/mccabe.py
@@ -139,7 +139,9 @@ def _subgraph_parse(
139
pathnode: _SubGraphNodes,
140
extra_blocks: Sequence[nodes.ExceptHandler | nodes.MatchCase],
141
) -> None:
142
- """Parse `match`/`case` blocks, or the body and `else` block of `if`/`for` statements."""
+ """Parse `match`/`case` blocks, or the body and `else` block of `if`/`for`
143
+ statements.
144
+ """
145
loose_ends = []
146
if isinstance(node, nodes.Match):
147
for case in extra_blocks:
0 commit comments