ExportsΒΆ
Rules for explicit module export surfaces.
Enable with:
enable = ["exports"]
Rule |
Message |
Python |
Autofix |
|---|---|---|---|
Define module __all__ at the bottom of the file. |
Any |
Yes |
|
Do not export underscore-prefixed symbols in __all__. Either remove them from __all__ or rename them to be public. |
Any |
No |