Skip to content

Inline collect_dunder_all_or_empty in pyrefly coverage#3849

Open
jorenham wants to merge 1 commit into
facebook:mainfrom
jorenham:coverage/inline-collect_dunder_all_or_empty
Open

Inline collect_dunder_all_or_empty in pyrefly coverage#3849
jorenham wants to merge 1 commit into
facebook:mainfrom
jorenham:coverage/inline-collect_dunder_all_or_empty

Conversation

@jorenham

Copy link
Copy Markdown
Contributor

Summary

The single-line internal collect_dunder_all_or_empty helper function was only used once, so this inlines it.

And I hear you thinking: "Wow, awesome, this should definitely be a highlight on the release notes!". But to be honest, I'm not sure if this is as exciting as it sounds like.

Test Plan

Just winging it

@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. ✅

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.

2 participants