aio-libs / aiodns

Simple DNS resolver for asyncio
https://pypi.python.org/pypi/aiodns
MIT License
532 stars 69 forks source link

Add PEP-561 with py.typed #109

Closed JCHacking closed 11 months ago

JCHacking commented 11 months ago

Added the py.typed file so that when someone uses this library they can parse their typed with mypy

This was pointed out in #93

saghul commented 11 months ago

Is there a way to test this?

JCHacking commented 11 months ago

The way I realized it was when I wanted to use a library that I had made from another one. So I understand that you can not test from the same library.

saghul commented 11 months ago

I see. I think you need to add it to MANIFEST.in though, so it's added to the package when building it, otherwise it will be skipped.

JCHacking commented 11 months ago

@saghul I have already added it, if you can confirm me that this is correct (I have never used MANIFEST.in)

saghul commented 11 months ago

Cheers!