PYTHON-3092 Add Type Discovery Files (#863)

This commit is contained in:
Steven Silvester 2022-02-11 12:41:29 -06:00 committed by GitHub
parent 0700a84432
commit 80314255d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 0 deletions

View File

@ -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

2
bson/py.typed Normal file
View File

@ -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".

2
gridfs/py.typed Normal file
View File

@ -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".

2
pymongo/py.typed Normal file
View File

@ -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".