Skip to content
  • Craig Ozancin's avatar
    releasenotes: use re.MULTILINE mode when checking admonitions · 943509a58d29
    Craig Ozancin authored
    Release note admonitions must start at the beginning of a line within
    the changeset description:
    
    .. admonitions::
    
    The checkadmonitions function search for and validates admonitions.
    
    Unfortunately, since the ctx.description is multi-line, the regex search
    always fails unless the admonition is on the first line.
    
    This changeset adds re.MULTILINE to the re.compile to make the re opbject
    multi-line.
    943509a58d29