Skip to content

add __all__ to explicitly export Logfmter#34

Closed
legau wants to merge 1 commit into
josheppinette:mainfrom
legau:patch-1
Closed

add __all__ to explicitly export Logfmter#34
legau wants to merge 1 commit into
josheppinette:mainfrom
legau:patch-1

Conversation

@legau

@legau legau commented Aug 11, 2025

Copy link
Copy Markdown

No description provided.

@josheppinette

Copy link
Copy Markdown
Owner

@legau any details on this?

@legau

legau commented Aug 19, 2025

Copy link
Copy Markdown
Author

Importing something imported may raise linting errors like these https://github.com/microsoft/pylance-release/blob/main/docs/diagnostics/reportPrivateImportUsage.md

Best practice in a __init__.py file is to use this __all__. Note the removal of the flake8 bypass as well

@josheppinette

Copy link
Copy Markdown
Owner

This change is being added here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants