docs(hacktober): record require_type_hints.sh run (15 PRs closed) + script recommendations - #15168
Merged
cclauss merged 1 commit intoSep 2, 2026
Conversation
cclauss
approved these changes
Sep 2, 2026
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #15159, as requested in #15081 (comment).
@cclauss ran
scripts/close_pull_requests_with_require_type_hints.shat ~20:44 UTC, which closed 15 PRs (all carried therequire type hintslabel). This PR records that run indocs/hacktober_2026_prep.md.What changed
[ ]->[x]for the 15 closed PRs and replaced their labels withclosed by close_pull_requests_with_require_type_hints.sh:feat: add 10 graph algorithms with tests #14824, Added PPMA compression algrithm #14810, feat: Add Splay Tree implementation #14726, Create look_and_say_sequence.py #14660, Added a percentage alogrithm #14402, Add 10 graph algorithms #14316, Add student result processor utility #14185, Change from qiskit import Aer to from qiskit_aer import AerSimulator #14138, Add iterative binary search implementation #14090, implementation of min stack #14014, feat: added unified tree traversal to compute preorder, inorder, and postorder in one pass #13773, added TSP solution using MST implementation with docstrings under Graphs #13682, Feat/snake water gun game #13658, Implement K-Medoids clustering algorithm #13488 #13644, feat: add Radial Basis Function Neural Network (Implements #12322) #13636
close_pull_requests_with_require_type_hints.sh= 15, Total = 15.(Verified each of the 15 is
state=closed, merged=falsewith the closing comment "Closing require_type_hints PRs to prepare for Hacktoberfest".)Recommendations for the
scripts/close_pull_requests_with_*.shjobsThe five scripts are byte-for-byte identical except for one label name and one comment string. A few suggestions:
--limit 500cap silently skips PRs. There are ~918 open PRs, butgh pr list ... --limit 500returns at most 500, so any matching PR past the 500th is never closed. Filter server-side with--label "<label>"(and, if needed,--search) instead of pulling everything and matching injq; that removes the cap for the labels that matter and is much faster.close_pull_requests_with_label.sh "require type hints"deriving the comment from the label. Five copies drift:awaiting_changes/failing_testshavesleep 2,require_testshas it commented out, andrequire_type_hints/require_descriptive_nameshave none — a single source avoids that.sleep(orgh's built-in retry) so bulk closes don't trip secondary rate limits.set -euo pipefail, an explicit--repo TheAlgorithms/Python, and aDRY_RUN=1mode that prints what would close before a maintainer commits to it.Happy to send these as a follow-up PR if you'd like — I kept this one docs-only so it stays easy to review.
Checklist