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 e64c747 commit 09cb610Copy full SHA for 09cb610
src/tap/utils.py
@@ -267,7 +267,7 @@ def get_subsequent_assign_lines(source_cls: str) -> Set[int]:
267
# Check if the end line number is found
268
if node.end_lineno is None:
269
warnings.warn(parse_warning)
270
- return set()
+ continue
271
272
# Get line number of assign statement excluding the first line (and minus 1 for the if statement)
273
assign_lines |= set(range(node.lineno, node.end_lineno))
0 commit comments