Skip to content

Commit 4ea4fe5

Browse files
committed
Add a py.typed marker file for PEP 561 compliance
This allows the new type hints for the ASGI scopes and messages to be used. Without this mypy ignores anything from asgiref.
1 parent cf99cb7 commit 4ea4fe5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include LICENSE
2+
include asgiref/py.typed
23
recursive-include tests *.py

asgiref/py.typed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker

0 commit comments

Comments
 (0)