From aeff82fbc60b16b2a67ae8d79f5308fc57bced3c Mon Sep 17 00:00:00 2001 From: Thiago Pena Date: Tue, 2 Jul 2024 09:51:49 -0300 Subject: [PATCH 1/2] chore: Adds py.typed to package data --- pyproject.toml | 3 +++ src/kubedantic/py.typed | 0 2 files changed, 3 insertions(+) create mode 100644 src/kubedantic/py.typed diff --git a/pyproject.toml b/pyproject.toml index 096529e..de7e6e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,3 +60,6 @@ Homepage = "https://github.com/coherent-oss/kubedantic" [project.scripts] [tool.setuptools_scm] + +[tool.setuptools.package-data] +kubedantic = ["py.typed"] diff --git a/src/kubedantic/py.typed b/src/kubedantic/py.typed new file mode 100644 index 0000000..e69de29 From fac21bde170e905907ba2bd170aa9f12993a27a6 Mon Sep 17 00:00:00 2001 From: Thiago Pena Date: Tue, 2 Jul 2024 12:07:39 -0300 Subject: [PATCH 2/2] chore: Specifies mypy_path --- mypy.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/mypy.ini b/mypy.ini index b6f9727..3baa5bf 100644 --- a/mypy.ini +++ b/mypy.ini @@ -3,3 +3,4 @@ ignore_missing_imports = True # required to support namespace packages # https://github.com/python/mypy/issues/14057 explicit_package_bases = True +mypy_path = src