From 80314255d7fb10769a083fcbee3d613a7263bd92 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 11 Feb 2022 12:41:29 -0600 Subject: [PATCH] PYTHON-3092 Add Type Discovery Files (#863) --- MANIFEST.in | 3 +++ bson/py.typed | 2 ++ gridfs/py.typed | 2 ++ pymongo/py.typed | 2 ++ 4 files changed, 9 insertions(+) create mode 100644 bson/py.typed create mode 100644 gridfs/py.typed create mode 100644 pymongo/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index d017d16ab..726c631e8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -12,3 +12,6 @@ include tools/README.rst recursive-include test *.pem recursive-include test *.py recursive-include bson *.h +include bson/py.typed +include gridfs/py.typed +include pymongo/py.typed diff --git a/bson/py.typed b/bson/py.typed new file mode 100644 index 000000000..0f4057061 --- /dev/null +++ b/bson/py.typed @@ -0,0 +1,2 @@ +# PEP-561 Support File. +# "Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing". diff --git a/gridfs/py.typed b/gridfs/py.typed new file mode 100644 index 000000000..0f4057061 --- /dev/null +++ b/gridfs/py.typed @@ -0,0 +1,2 @@ +# PEP-561 Support File. +# "Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing". diff --git a/pymongo/py.typed b/pymongo/py.typed new file mode 100644 index 000000000..0f4057061 --- /dev/null +++ b/pymongo/py.typed @@ -0,0 +1,2 @@ +# PEP-561 Support File. +# "Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing".