Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New compute-changes.py should be checked with mypy #129707

Closed
sobolevn opened this issue Feb 5, 2025 · 0 comments
Closed

New compute-changes.py should be checked with mypy #129707

sobolevn opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
build The build process and cross-build type-feature A feature request or enhancement

Comments

@sobolevn
Copy link
Member

sobolevn commented Feb 5, 2025

Feature or enhancement

Right now we have a special mypy.ini in Tools/build:

files = Tools/build/generate_sbom.py

But, it only checks one file. Since newly added https://github.com/python/cpython/blob/main/Tools/build/compute-changes.py is fully annotated, it should be included as well.

Refs #129627

I will send a PR.

Linked PRs

@sobolevn sobolevn added build The build process and cross-build type-feature A feature request or enhancement labels Feb 5, 2025
@sobolevn sobolevn self-assigned this Feb 5, 2025
sobolevn added a commit to sobolevn/cpython that referenced this issue Feb 5, 2025
AA-Turner added a commit that referenced this issue Feb 6, 2025
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this issue Feb 7, 2025
…ython#129708)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
cmaloney pushed a commit to cmaloney/cpython that referenced this issue Feb 8, 2025
…ython#129708)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants