From 8a95cffca3848945beb25cc60f66be22d1f6c77a Mon Sep 17 00:00:00 2001 From: DetachHead <57028336+DetachHead@users.noreply.github.com> Date: Fri, 19 Aug 2022 19:12:52 +1000 Subject: fix `undefined-loop-variable` with `break` and `continue` statements in `else` blocks (#7318) Also add better regex explanation for news fragments following hard to fix issue with it. Co-authored-by: detachhead --- script/check_newsfragments.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'script') diff --git a/script/check_newsfragments.py b/script/check_newsfragments.py index cb5544f0b..577b4ba88 100644 --- a/script/check_newsfragments.py +++ b/script/check_newsfragments.py @@ -64,12 +64,14 @@ def check_file(file: Path, verbose: bool) -> bool: The standard format is: - + # Where can be one of: {', '.join(VALID_ISSUES_KEYWORDS)} +The regex used is '{VALID_CHANGELOG_COMPILED_PATTERN}'. + For example: ``pylint.x.y`` is now a private API. -- cgit v1.2.1