Skip to content

Conversation

@w1718w
Copy link
Contributor

@w1718w w1718w commented Jul 10, 2025

Description

This PR adds a py.typed marker file and includes it in the package metadata to support PEP 561. This enables external tools such as mypy to recognize and make use of the inline type hints defined in the ptwt package.

Changes made:

  • Added py.typed file to indicate that the package supports type hints.
  • Updated setup.cfg to include py.typed under [options.package_data].

Reason

Without the py.typed marker file, tools like mypy cannot detect type hints in this package even though type annotations are present in the source.

@v0lta v0lta self-assigned this Jul 17, 2025
@v0lta
Copy link
Owner

v0lta commented Jul 19, 2025

Thanks! This is a good idea.

@v0lta v0lta merged commit 2607c98 into v0lta:main Jul 19, 2025
5 of 7 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.

2 participants