Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds py.typed and fixes mypy issues #205

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

palfrey
Copy link

@palfrey palfrey commented May 29, 2023

i3ipc now has no complaints from mypy. This fixes #187.

My current test setup is:

  1. Do existing i3ipc-python setup
  2. pip install mypy types-python-xlib
  3. Go into the test folder.
  4. Repeatedly run (cd .. && pip install . && python -m mypy . --exclude build --exclude examples --exclude docs --exclude setup.py) as I made changes until it stopped breaking.

jazzband/dj-database-url@7ee1eea demos this sort of check in CI environment, but can't do that here yet because of #204.

i3ipc now has no complaints from mypy
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.

Create PEP 561 compliant library stub for type checking
1 participant