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 PEP-561 py.typed file #981

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lalten
Copy link
Contributor

@lalten lalten commented Apr 23, 2021

This commit adds a py.typed file, which marks the package as having type information available.
For more information, see https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages

The zip_safe seems to be still necessary: encode/httpx#193
even though it is deprecated: python/mypy#8802


This change is Reviewable

@lalten lalten force-pushed the add-py-typed-file branch from 905e402 to 7d9ac1d Compare April 23, 2021 16:46
This commit adds a py.typed file, which marks the package as having type information available.
For more information, see  https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages

The zip_safe seems to be [still necessary](encode/httpx#193 (reference)),
even though it is [deprecated](python/mypy#8802).
@lalten lalten force-pushed the add-py-typed-file branch from 7d9ac1d to 8a89dfe Compare April 24, 2021 08:09
@cclauss
Copy link
Contributor

cclauss commented Nov 1, 2024

git conflicts.

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