Title: Add typing to more build tools · Issue #133403 · python/cpython · GitHub
Open Graph Title: Add typing to more build tools · Issue #133403 · python/cpython
X Title: Add typing to more build tools · Issue #133403 · python/cpython
Description: Feature or enhancement Right now we support typing in several build tools: cpython/Tools/build/mypy.ini Lines 2 to 4 in 6ce60f1 files = Tools/build/compute-changes.py, Tools/build/generate_sbom.py I think that some other files / tools fr...
Open Graph Description: Feature or enhancement Right now we support typing in several build tools: cpython/Tools/build/mypy.ini Lines 2 to 4 in 6ce60f1 files = Tools/build/compute-changes.py, Tools/build/generate_sbom.py ...
X Description: Feature or enhancement Right now we support typing in several build tools: cpython/Tools/build/mypy.ini Lines 2 to 4 in 6ce60f1 files = Tools/build/compute-changes.py, Tools/build/generate_sbom.py ...
Opengraph URL: https://github.com/python/cpython/issues/133403
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add typing to more build tools","articleBody":"# Feature or enhancement\n\nRight now we support typing in several build tools: https://github.com/python/cpython/blob/6ce60f1574af458b2883bdbe5ab8986fba5bef5a/Tools/build/mypy.ini#L2-L4\n\nI think that some other files / tools from this folder can benefit from being checked with mypy.\n\nI have a PR ready for `Tools/build/update_file.py` of `parser.c` generation.\nWhat else can be easily typed?\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-133404\n* gh-133453\n* gh-133603\n* gh-133637\n* gh-133689\n* gh-133690\n* gh-133735\n* gh-133764\n* gh-133802\n* gh-134038\n* gh-134040\n* gh-137546\n* gh-137679\n* gh-137691\n* gh-137692\n* gh-137698\n* gh-137699\n* gh-137700\n* gh-137763\n* gh-143317\n* gh-148734\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sobolevn","@type":"Person","name":"sobolevn"},"datePublished":"2025-05-04T21:31:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/133403/cpython/issues/133403"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9723c79d-bc19-e3b4-4063-195e9ff2e40c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B802:1E68A5:2866A13:370C69C:6A53B5EA |
| html-safe-nonce | 331ff20fefa949c127fdd87cb65721666997249d73ec46399d0fcf48532763e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODAyOjFFNjhBNToyODY2QTEzOjM3MEM2OUM6NkE1M0I1RUEiLCJ2aXNpdG9yX2lkIjoiODUzOTY2NjkxMDczMTgxMDI4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cf3036700a6e4f68a060487a344664426d9c4ba6ebe5f26f81f3aa11920f4708 |
| hovercard-subject-tag | issue:3038256753 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/133403/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a02d0e5568d3622c387eb9342c2bdb51633b272a8d538aec93c42be7ec54730/python/cpython/issues/133403 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a02d0e5568d3622c387eb9342c2bdb51633b272a8d538aec93c42be7ec54730/python/cpython/issues/133403 |
| og:image:alt | Feature or enhancement Right now we support typing in several build tools: cpython/Tools/build/mypy.ini Lines 2 to 4 in 6ce60f1 files = Tools/build/compute-changes.py, Tools/build/generate_sbom.py ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width