Skip to content

chore: add py.typed for better mypy support#7

Merged
imnotjames merged 1 commit intoimnotjames:mainfrom
vitalii-diachkov-sumup:add-py-typed
Jun 9, 2025
Merged

chore: add py.typed for better mypy support#7
imnotjames merged 1 commit intoimnotjames:mainfrom
vitalii-diachkov-sumup:add-py-typed

Conversation

@vitalii-diachkov-sumup
Copy link
Copy Markdown
Contributor

Hey, thanks for publishing this small library, it really helped me with my use case. However, when I am running mypy checks for my project, I am getting the following error:

error: Skipping analyzing "cachetools_async": module is installed, but missing library stubs or py.typed marker  [import-untyped]

I have checked, and this codebase is already properly type annotated, the only missing part as I see it is py.typed file in it (see PEP-561)

Can you please include it? 🙏

@imnotjames
Copy link
Copy Markdown
Owner

Looks good to me! I didn't even notice.

@imnotjames
Copy link
Copy Markdown
Owner

Thanks for the contribution!

@imnotjames imnotjames merged commit 41aa550 into imnotjames:main Jun 9, 2025
5 checks passed
@vitalii-diachkov-sumup
Copy link
Copy Markdown
Contributor Author

What a quick response 😅 Thanks @imnotjames, I have just double-checked, the error is gone now 🎉

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