Skip to content

fix property typable counts in pyrefly report #3099#3129

Open
jorenham wants to merge 1 commit intofacebook:mainfrom
jorenham:gh-3099
Open

fix property typable counts in pyrefly report #3099#3129
jorenham wants to merge 1 commit intofacebook:mainfrom
jorenham:gh-3099

Conversation

@jorenham
Copy link
Copy Markdown

Summary

This special-cases the typable counting logic of property setters and deleters to ignore their trivial -> None return types.

Fixes #3099

Test Plan

Relevant tests updated

@github-actions
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
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Apr 15, 2026

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

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 report: property setters/getters/deleters are counted separately

1 participant