Skip to content

Commit 8031425

Browse files
authored
PYTHON-3092 Add Type Discovery Files (#863)
1 parent 0700a84 commit 8031425

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ include tools/README.rst
1212
recursive-include test *.pem
1313
recursive-include test *.py
1414
recursive-include bson *.h
15+
include bson/py.typed
16+
include gridfs/py.typed
17+
include pymongo/py.typed

bson/py.typed

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# PEP-561 Support File.
2+
# "Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing".

gridfs/py.typed

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# PEP-561 Support File.
2+
# "Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing".

pymongo/py.typed

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# PEP-561 Support File.
2+
# "Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing".

0 commit comments

Comments
 (0)