Open
Description
Summary
It's a common pattern to implement all one's code in private modules, and then have the top-level module export the names via from ._child import SomethingPublic
and __all__ = ["SomethingPublic"]
. This allows the code to be structured in a way that makes sense (small modules, helper functions grouped with the code that uses it), without that leaking out into the public API in a way which prevents restructuring later.
Unfortunately the D1** rules don't recognize this idiom, so don't flag up any missing documentation for libraries written this way. It would be great if that could be supported!
Activity