Skip to content

Sort imports and add explicitly exports#192

Merged
FichteFoll merged 1 commit intomasterfrom
feat/explicit-exports
Jan 26, 2026
Merged

Sort imports and add explicitly exports#192
FichteFoll merged 1 commit intomasterfrom
feat/explicit-exports

Conversation

@deathaxe
Copy link
Member

This commit explicitly exports globals via __all__ to prevent linters (e.g. pyright) to complain about use of implicit exports.

Example:

from sublime_lib import OutputPanel

Without this commit warnings with following code changes are raised:

from sublime_lib.panel import OutputPanel

Note: Makes # noqa F402 obsolete.

This commit explicitly exports globals via `__all__` to prevent linters
(e.g. pyright) to complain about use of implicit exports.

Example:

    from sublime_lib import OutputPanel

Without this commit warnings with following code changes are raised:

    from sublime_lib.panel import OutputPanel

Note: Makes `# noqa F402` obsolete.
@FichteFoll FichteFoll merged commit f788f1c into master Jan 26, 2026
1 check passed
@deathaxe deathaxe deleted the feat/explicit-exports branch January 26, 2026 16:45
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