summaryrefslogtreecommitdiff
path: root/script/check_newsfragments.py
diff options
context:
space:
mode:
Diffstat (limited to 'script/check_newsfragments.py')
-rw-r--r--script/check_newsfragments.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/script/check_newsfragments.py b/script/check_newsfragments.py
index b840d9da0..f5069a4bb 100644
--- a/script/check_newsfragments.py
+++ b/script/check_newsfragments.py
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt
"""Small script to check the formatting of news fragments for towncrier.
Used by pre-commit.
@@ -34,12 +34,13 @@ VALID_FILE_TYPE = frozenset(
"bugfix",
"other",
"internal",
+ "performance",
]
)
ISSUES_KEYWORDS = "|".join(VALID_ISSUES_KEYWORDS)
VALID_CHANGELOG_PATTERN = (
rf"(?P<description>(.*\n)*(.*\.\n))\n(?P<ref>({ISSUES_KEYWORDS})"
- r" (PyCQA/astroid)?#(?P<issue>\d+))"
+ r" (pylint-dev/astroid)?#(?P<issue>\d+))"
)
VALID_CHANGELOG_COMPILED_PATTERN: Pattern[str] = re.compile(
VALID_CHANGELOG_PATTERN, flags=re.MULTILINE