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

Partially type check 300 more files #8741

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

Eric-Arellano
Copy link
Contributor

@Eric-Arellano Eric-Arellano commented Nov 29, 2019

Brings the number of checked source files from 313 to 609. See https://docs.google.com/spreadsheets/d/1MKg82Fs3uIMOZDoWeNUBD-VirVkOzHU8Tte7oY6ypP0/edit for what remains.

The remaining major blockers for running MyPy against the entire repo are:

  • Goal.Options not a valid type because it's a function
  • memo.py is not typed and causes issues for backend/native/subsystems, which consequently blocks any V2 code from using MyPy
  • meta.py not having precise enough of types

Copy link
Contributor

@blorente blorente left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

src/python/pants/base/revision.py Show resolved Hide resolved
@Eric-Arellano Eric-Arellano merged commit 20e6c09 into pantsbuild:master Dec 3, 2019
@Eric-Arellano Eric-Arellano deleted the type-majority branch December 3, 2019 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants