ExportsΒΆ

Rules for explicit module export surfaces.

Enable with:

enable = ["exports"]

Rule

Message

Python

Autofix

module-all-at-bottom

Define module __all__ at the bottom of the file.

Any

Yes

no-underscore-all-exports

Do not export underscore-prefixed symbols in __all__. Either remove them from __all__ or rename them to be public.

Any

No