You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep One Primitive per Block Shape in pr_review.py #3241
scripts/pr_review.py now carries INTERRUPTS_PARAGRAPH and LINE_END as the model of a line opening a block. Two other sites spell some of the same shapes their own way:
coverage_statements decides whether a line closes its own block with #{1,6}(?:\s|$)|([-*_])(?: *\1){2,} *$|(?:=+|-+) *$|<!--. Its \s takes a vertical tab after # where GitHub does not, and its * refuses a thematic break spaced by tabs, such as *\t*\t*, which GitHub accepts.
MARKDOWN_HEADING, \s*#{1,6}\s, carries the same \s after the hashes.
INTERRUPTS_PARAGRAPH's fence arm and LINE_END each restate a piece of FENCE.
Each spelling was fixed where it was found. A sibling written separately is the one the next fix misses.
Expected
Each heading, thematic-break, and fence shape has one primitive in the file, and the sites above compose from it, with the differing whitespace cases pinned by a test.
Activity
End a Code Span at Every Paragraph-Ending Line in pr_review.py (#3242)
Compose pr_review.py's Block Shapes From One Primitive Each (#3261)
Promote the Block-Shape Primitives, Left-to-Right Code Span Reading, …