Skip to content

No implicit exports from __init__.py #530

Closed
@ssbarnea

Description

@ssbarnea

As https://github.com/tmux-python/libtmux/blob/master/src/libtmux/__init__.py we can see some imports that are not mentioned inside an __all__ line.

This is is causing type check failures when running mypy in strict mode as it means that these module do not have an explicit exports. Example:

error: Module "libtmux" does not explicitly export attribute "Server"  [attr-defined]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions