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

Add missing typing metadata #211

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Add missing typing metadata #211

merged 1 commit into from
Jun 5, 2024

Conversation

kutu-dev
Copy link
Contributor

@kutu-dev kutu-dev commented Jun 5, 2024

Add a py.typed file and the PyPI classifier, without the former file tools like mypy will think that the library is not typed and raise errors along the line of: Skipping analyzing "tinytag": module is installed, but missing library stubs or py.typed marker [import-untyped]

@coveralls
Copy link

Coverage Status

coverage: 98.863%. remained the same
when pulling 1c92ad1 on kutu-dev:master
into 5b96600 on devsnd:master.

Copy link
Member

@mathiascode mathiascode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I didn't know this was required.

@mathiascode mathiascode merged commit 1972293 into tinytag:master Jun 5, 2024
37 checks passed
@kutu-dev
Copy link
Contributor Author

kutu-dev commented Jun 5, 2024

You're welcome! It's a weird requirement listed in PEP 561 which I have never liked. By the way when a new version with the patch is expected to be released?

@mathiascode
Copy link
Member

By the way when a new version with the patch is expected to be released?

Type hints were only added in tinytag 2.0.0, which hasn't been released yet. We're using the new major version as an opportunity to add some new features and improve the API. Once #209 has been fully tested and merged, 2.0.0 should pretty much be finished.

I don't have an exact release date, but the new version will be released sometime this year.

@kutu-dev
Copy link
Contributor Author

kutu-dev commented Jun 5, 2024

Thanks! I'll wait for the new release, good luck with it!

@mathiascode mathiascode added this to the 2.0.0 milestone Jun 12, 2024
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.

3 participants