Skip to content

Commit

Permalink
feat: add py.typed for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jun 9, 2023
1 parent 8df3d1c commit 777db05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ version = {attr = "mistune.__version__"}
[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
mistune = ["py.typed"]

[tool.pytest.ini_options]
pythonpath = ["src", "."]
testpaths = ["tests"]
Expand Down
7 changes: 1 addition & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
from setuptools import setup

# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.

setup(
name="mistune",
package_data={"mistune": ["py.typed", ]}
)
setup(name="mistune")

0 comments on commit 777db05

Please sign in to comment.