Open
Description
Feature or enhancement
Right now we support typing in several build tools:
Lines 2 to 4 in 6ce60f1
I think that some other files / tools from this folder can benefit from being checked with mypy.
I have a PR ready for Tools/build/update_file.py
of parser.c
generation.
What else can be easily typed?
Linked PRs
- gh-133403: Type
Tools/build/update_file.py
and check it withmypy
#133404 - gh-133403: Type Tools/build/verify_ensurepip_wheels.py and check it with mypy #133453
- [3.14] gh-133403: Type
Tools/build/update_file.py
and check it withmypy
(GH-133404) #133603 - [3.13] gh-133403: Type
Tools/build/update_file.py
and check it withmypy
(GH-133404) #133637 - [3.14] gh-133403: Check
Tools/build/verify_ensurepip_wheels.py
with mypy (GH-133453) #133689 - [3.13] gh-133403: Check
Tools/build/verify_ensurepip_wheels.py
with mypy (GH-133453) #133690 - gh-133403: Check
Tools/build/generate-build-details.py
with mypy #133735 - [3.14] gh-133403: Check
Tools/build/generate-build-details.py
with mypy (GH-133735) #133764 - gh-133403: Check
Tools/build/deepfreeze.py
with mypy #133802 - [3.14] gh-133403: Check
Tools/build/deepfreeze.py
with mypy (GH-133802) #134038 - [3.13] gh-133403: Check
Tools/build/deepfreeze.py
with mypy (GH-133802) #134040
Activity
pythongh-133403: Type `Tools/build/update_file.py` and check it with …
pythongh-133403: Type `Tools/build/update_file.py` and check it with …
pythongh-133403: Type `Tools/build/update_file.py` and check it with …
Tools/build/update_file.py
and check it withmypy
#133404pythongh-133403: Type `Tools/build/update_file.py` and check it with …
sobolevn commentedon May 4, 2025
Tools/build/verify_ensurepip_wheels.py
also has annotations, but it is not checked. Will add in a separate PR, since it requires a bit of modification:sobolevn commentedon May 4, 2025
We should also merge #133405 before any other PR.
Flosckow commentedon May 5, 2025
Can I work on it?
sobolevn commentedon May 5, 2025
@Flosckow sure, you can help with #133403 (comment) I haven't started yet :)
Thank you!
Flosckow commentedon May 5, 2025
Yes, I'll try to do this, the only thing I might be a little slow is this is my first pr in cpython.
sobolevn commentedon May 5, 2025
No worries, I can surely help with any questions you might have. Feel free to ask them :)
35 remaining items