-
-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Please add py.typed so mypy will use and respect type annotations in …
…mistune (#348) feat: add py.typed for mypy
- Loading branch information
1 parent
4222ee1
commit 8df3d1c
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
|
||
setup( | ||
name="mistune", | ||
package_data={"mistune": ["py.typed", ]} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# when type checking dependents, tell type checkers, e.g. mypy, to use this package's types | ||
# without this file, mypy will write a warning and ignore type annotations from mistune. |