camel icon indicating copy to clipboard operation
camel copied to clipboard

fix: add py.typed marker for PEP 561 type hint support

Open coolbeevip opened this issue 9 months ago • 0 comments

Description

Add py.typed marker for PEP 561 type hint support

This empty file marker tells type checkers that the package provides reliable type annotations, enabling better static analysis and IDE support. Follows PEP 561 specification for distributing and packaging type information.

https://peps.python.org/pep-0561/

Fixes: #1782

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • [x] I have read the CONTRIBUTION guide (required)
  • [x] I have linked this PR to an issue using the Development section on the right sidebar or by adding Fixes #issue-number in the PR description (required)
  • [ ] I have checked if any dependencies need to be added or updated in pyproject.toml and uv lock
  • [ ] I have updated the tests accordingly (required for a bug fix or a new feature)
  • [ ] I have updated the documentation if needed:
  • [ ] I have added examples if this is a new feature

If you are unsure about any of these, don't hesitate to ask. We are here to help!

coolbeevip avatar Mar 11 '25 06:03 coolbeevip