@@ -55,7 +55,7 @@ def check_missing_backtick_after_role(file, lines, options=None):
55
55
"""
56
56
for paragraph_lno , paragraph in paragraphs (lines ):
57
57
if paragraph .count ("|" ) > 4 :
58
- return # we don't handle tables yet.
58
+ continue # we don't handle tables yet.
59
59
for error in rst .ROLE_MISSING_CLOSING_BACKTICK_RE .finditer (paragraph ):
60
60
error_offset = paragraph [: error .start ()].count ("\n " )
61
61
yield (
@@ -77,7 +77,7 @@ def check_missing_space_after_literal(file, lines, options=None):
77
77
"""
78
78
for paragraph_lno , paragraph in paragraphs (lines ):
79
79
if paragraph .count ("|" ) > 4 :
80
- return # we don't handle tables yet.
80
+ continue # we don't handle tables yet.
81
81
paragraph = clean_paragraph (paragraph )
82
82
for role in _RST_ROLE_RE .finditer (paragraph ):
83
83
if not _END_STRING_SUFFIX_RE .match (role [0 ][- 1 ]):
@@ -101,7 +101,7 @@ def check_unbalanced_inline_literals_delimiters(file, lines, options=None):
101
101
"""
102
102
for paragraph_lno , paragraph in paragraphs (lines ):
103
103
if paragraph .count ("|" ) > 4 :
104
- return # we don't handle tables yet.
104
+ continue # we don't handle tables yet.
105
105
paragraph = clean_paragraph (paragraph )
106
106
for lone_double_backtick in _LONE_DOUBLE_BACKTICK_RE .finditer (paragraph ):
107
107
error_offset = paragraph [: lone_double_backtick .start ()].count ("\n " )
@@ -135,7 +135,7 @@ def check_default_role(file, lines, options=None):
135
135
and stripped_line .count ("|" ) >= 4
136
136
and "|" in match .group (0 )
137
137
):
138
- return # we don't handle tables yet.
138
+ continue # we don't handle tables yet.
139
139
if _ends_with_role_tag (before_match ):
140
140
# It's not a default role: it ends with a tag.
141
141
continue
@@ -279,7 +279,7 @@ def check_role_with_double_backticks(file, lines, options=None):
279
279
if "`" not in paragraph :
280
280
continue
281
281
if paragraph .count ("|" ) > 4 :
282
- return # we don't handle tables yet.
282
+ continue # we don't handle tables yet.
283
283
paragraph = escape2null (paragraph )
284
284
while True :
285
285
inline_literal = min (
@@ -310,7 +310,7 @@ def check_missing_space_before_role(file, lines, options=None):
310
310
"""
311
311
for paragraph_lno , paragraph in paragraphs (lines ):
312
312
if paragraph .count ("|" ) > 4 :
313
- return # we don't handle tables yet.
313
+ continue # we don't handle tables yet.
314
314
paragraph = clean_paragraph (paragraph )
315
315
for match in rst .ROLE_GLUED_WITH_WORD_RE .finditer (paragraph ):
316
316
error_offset = paragraph [: match .start ()].count ("\n " )
@@ -335,7 +335,7 @@ def check_missing_space_before_default_role(file, lines, options=None):
335
335
"""
336
336
for paragraph_lno , paragraph in paragraphs (lines ):
337
337
if paragraph .count ("|" ) > 4 :
338
- return # we don't handle tables yet.
338
+ continue # we don't handle tables yet.
339
339
paragraph = clean_paragraph (paragraph )
340
340
paragraph = rst .INTERPRETED_TEXT_RE .sub ("" , paragraph )
341
341
for role in rst .inline_markup_gen (
@@ -361,7 +361,7 @@ def check_hyperlink_reference_missing_backtick(file, lines, options=None):
361
361
"""
362
362
for paragraph_lno , paragraph in paragraphs (lines ):
363
363
if paragraph .count ("|" ) > 4 :
364
- return # we don't handle tables yet.
364
+ continue # we don't handle tables yet.
365
365
paragraph = clean_paragraph (paragraph )
366
366
paragraph = rst .INTERPRETED_TEXT_RE .sub ("" , paragraph )
367
367
for hyperlink_reference in _HYPERLINK_REFERENCE_RE .finditer (paragraph ):
0 commit comments