Skip to content

strip "-stubs" suffix from FQN in pyrefly report #3094#3125

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

strip "-stubs" suffix from FQN in pyrefly report #3094#3125
jorenham wants to merge 1 commit intofacebook:mainfrom
jorenham:gh-3094

Conversation

@jorenham
Copy link
Copy Markdown

@jorenham jorenham commented Apr 14, 2026

Summary

This fixes the fully-qualified names reported with pyrefly report for stubs-only packages according to PEP 561 by removing the top-level -stubs suffix.

Fixes #3094

Test Plan

added a unit test

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: FQNs for -stubs packages should not include "-stubs"

1 participant