Remove `Misc/ACKS` check from patchcheck, documentation (#141960)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
Stan Ulbrych 2025-11-26 00:00:00 +00:00 committed by GitHub
parent 9f2a34af74
commit 33efd7178e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 10 deletions

View file

@ -32,8 +32,9 @@ Contributors to the Python documentation
---------------------------------------- ----------------------------------------
Many people have contributed to the Python language, the Python standard Many people have contributed to the Python language, the Python standard
library, and the Python documentation. See :source:`Misc/ACKS` in the Python library, and the Python documentation. See the `CPython
source distribution for a partial list of contributors. GitHub repository <https://github.com/python/cpython/graphs/contributors>`__
for a partial list of contributors.
It is only with the input and contributions of the Python community It is only with the input and contributions of the Python community
that Python has such wonderful documentation -- Thank You! that Python has such wonderful documentation -- Thank You!

View file

@ -176,12 +176,6 @@ def docs_modified(file_paths):
return bool(file_paths) return bool(file_paths)
@status("Misc/ACKS updated", modal=True)
def credit_given(file_paths):
"""Check if Misc/ACKS has been changed."""
return os.path.join('Misc', 'ACKS') in file_paths
@status("Misc/NEWS.d updated with `blurb`", modal=True) @status("Misc/NEWS.d updated with `blurb`", modal=True)
def reported_news(file_paths): def reported_news(file_paths):
"""Check if Misc/NEWS.d has been changed.""" """Check if Misc/NEWS.d has been changed."""
@ -215,8 +209,6 @@ def main():
misc_files = {p for p in file_paths if p.startswith('Misc')} misc_files = {p for p in file_paths if p.startswith('Misc')}
# Docs updated. # Docs updated.
docs_modified(has_doc_files) docs_modified(has_doc_files)
# Misc/ACKS changed.
credit_given(misc_files)
# Misc/NEWS changed. # Misc/NEWS changed.
reported_news(misc_files) reported_news(misc_files)
# Regenerated configure, if necessary. # Regenerated configure, if necessary.