Skip to content

Drop the unused incomplete_attributes from pyrefly coverage#4031

Closed
jorenham wants to merge 1 commit into
facebook:mainfrom
jorenham:gh-4023
Closed

Drop the unused incomplete_attributes from pyrefly coverage#4031
jorenham wants to merge 1 commit into
facebook:mainfrom
jorenham:gh-4023

Conversation

@jorenham

@jorenham jorenham commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

parse_classes no longer fills ReportClass.incomplete_attributes by walking each class's MRO, since build_module_report dropped it anyway.

Fixes #4023

Test Plan

Tests still pass; no behavior changes

@github-actions

This comment has been minimized.

@meta-codesync

meta-codesync Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@grievejia has imported this pull request. If you are a Meta employee, you can view this in D111096477.

@stroxler stroxler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

@jorenham

jorenham commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

rebased onto main and resolved the merge conflict

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@meta-codesync meta-codesync Bot closed this in 442d4c9 Jul 9, 2026
@meta-codesync meta-codesync Bot added the Merged label Jul 9, 2026
@meta-codesync

meta-codesync Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@grievejia merged this pull request in 442d4c9.

@jorenham
jorenham deleted the gh-4023 branch July 9, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pyrefly coverage computes incomplete_attributes but never outputs it

3 participants