Skip to content

Commit

Permalink
[PR aio-libs#6171/410f708c backport][3.8] Fix the regexp in the fragm…
Browse files Browse the repository at this point in the history
…ent checking script (aio-libs#6172)

(cherry picked from commit 410f708)

Co-authored-by: Sviatoslav Sydorenko <[email protected]>
  • Loading branch information
patchback[bot] and webknjaz authored Oct 28, 2021
1 parent c155147 commit efad85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pathlib import Path

ALLOWED_SUFFIXES = ["feature", "bugfix", "doc", "removal", "misc"]
PATTERN = re.compile(r"\d+\.(" + "|".join(ALLOWED_SUFFIXES) + r")(\.d+)?(.rst)?")
PATTERN = re.compile(r"\d+\.(" + "|".join(ALLOWED_SUFFIXES) + r")(\.\d+)?(\.rst)?")


def get_root(script_path):
Expand Down

0 comments on commit efad85f

Please sign in to comment.