altdesktop / i3ipc-python

🐍 An improved Python library to control i3wm and sway.
http://i3ipc-python.readthedocs.io
BSD 3-Clause "New" or "Revised" License
858 stars 108 forks source link

Create PEP 561 compliant library stub for type checking #187

Open Anomalocaridid opened 3 years ago

Anomalocaridid commented 3 years ago

Currently, i3ipc-python does not work with Python type checkers like mypy. In order to support type checking, it needs a library stub as specified in PEP 561.

This isn't a critical issue, but it would certainly be much appreciated.

acrisci commented 3 years ago

I would accept this into the library.

palfrey commented 1 year ago

https://github.com/altdesktop/i3ipc-python/pull/205 does this.