tmux-python / libtmux

⚙️ Python API / wrapper for tmux
https://libtmux.git-pull.com
MIT License
1.01k stars 104 forks source link

No implicit exports from __init__.py #530

Closed ssbarnea closed 8 months ago

ssbarnea commented 8 months ago

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]
tony commented 8 months ago

@ssbarnea #531 is live in v0.32.0 (PyPI, release notes, changes)