Skip to content

Commit

Permalink
Fix Mypy error: "Skipping analyzing 'decohints': module is installed,…
Browse files Browse the repository at this point in the history
… but missing library stubs or py.typed marker"
  • Loading branch information
gri-gus committed Jun 19, 2022
1 parent c3f9038 commit d7b0826
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions decohints/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from typing import Callable

def decohints(decorator: Callable) -> Callable: ...
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import setuptools

VERSION = "1.0.4"
VERSION = "1.0.5"

with open("README.md", "r") as file:
long_description = file.read()
Expand All @@ -15,6 +15,7 @@
long_description_content_type="text/markdown",
url="https://github.com/gri-gus/decohints",
packages=setuptools.find_packages(),
package_data={"decohints": ["py.typed"]},
classifiers=[
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: Apache Software License",
Expand Down

0 comments on commit d7b0826

Please sign in to comment.