Skip to content

Add PEP 561 marker (py.typed)#170

Merged
MatthewCane merged 1 commit intomainfrom
improve-164-py-typed
Aug 8, 2025
Merged

Add PEP 561 marker (py.typed)#170
MatthewCane merged 1 commit intomainfrom
improve-164-py-typed

Conversation

@MatthewCane
Copy link
Copy Markdown
Owner

Summary

Add an empty python_ntfy/py.typed file to mark the package as typed per PEP 561. This enables downstream projects to consume our inline type hints by default.

Details

  • The file is intentionally empty; its presence signals to type checkers (mypy, Pyright) that the package is typed.
  • Verified with just build that the wheel contains python_ntfy/py.typed.

Issue

Closes #164

Test plan

  • just check and just mypy should pass
  • just build then inspect the wheel to confirm python_ntfy/py.typed is present

@MatthewCane MatthewCane merged commit 76ed3fa into main Aug 8, 2025
2 checks passed
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.

Distribute type information (py.typed)

1 participant