Skip to content

Commit 41fbe03

Browse files
author
Release Manager
committed
gh-40724: finding more deprecated stuff namely all calls to "deprecated_function_alias" were missed by our current script in tools sequel of #39262 ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. URL: #40724 Reported by: Frédéric Chapoton Reviewer(s): Tobias Diez
2 parents f165754 + 73e5cfb commit 41fbe03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/check_deprecations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from github.MainClass import Github
1919

2020
# Regex pattern to find deprecation instances
21-
DEPRECATION_PATTERN = re.compile(r'deprecation\((\d+),')
21+
DEPRECATION_PATTERN = re.compile(r'(deprecation|deprecated_function_alias)\((\d+),')
2222

2323

2424
def get_pr_closed_date(github_token: str, pr_number: int) -> datetime:

0 commit comments

Comments
 (0)