]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Enable mypy to discover type hints as specified in PEP 561 (#194)
authorAndrew M. White <andrewmwhite@gmail.com>
Tue, 6 Aug 2019 17:18:34 +0000 (10:18 -0700)
committerSeth Michael Larson <sethmichaellarson@gmail.com>
Tue, 6 Aug 2019 17:18:34 +0000 (12:18 -0500)
httpx/py.typed [new file with mode: 0644]
setup.py

diff --git a/httpx/py.typed b/httpx/py.typed
new file mode 100644 (file)
index 0000000..e69de29
index 2045210ac3d314f474ffcd40b2a2ed86d320c9a4..19e4dc3124d0eb6d20afa136703d514a32b6bb1f 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -45,6 +45,7 @@ setup(
     long_description_content_type="text/markdown",
     author="Tom Christie",
     author_email="tom@tomchristie.com",
+    package_data={"httpx": ["py.typed"]},
     packages=get_packages("httpx"),
     install_requires=[
         "certifi",