You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pyrefly report should include private names listed in __all__ #3578
Using a leading _ to indicate a private name is but a convention, not a hard rule. So if a project explicitly lists such a "private" name in the __all__, then I think it's reasonable to assume that it's intended to be part of the public API. Because of that, I think it should then also be treated as such in pyrefly coverage reports.
I don't have a concrete example of this, but I saw in the code that "private" names are currently always skipped.
Activity
Include private names from `__all__` in `pyrefly coverage report` (py…