From e2126bbcb0c01043402125465fccd6144bc94e2c Mon Sep 17 00:00:00 2001 From: Noor Christensen Date: Sun, 2 Jun 2024 00:13:28 +0200 Subject: [PATCH] Add type marker for PEP 561 compliance This adds a `py.typed` file in the package directory, which acts as a marker to declare that it is PEP 561 compliant and includes type hints. More information is available here: https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages Fixes #219. --- MANIFEST.in | 1 + mkdocs_macros/py.typed | 0 2 files changed, 1 insertion(+) create mode 100644 mkdocs_macros/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index a64eb62..d1135e9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ include README.md include LICENSE.md include mkdocs_macros/*.md +include mkdocs_macros/py.typed diff --git a/mkdocs_macros/py.typed b/mkdocs_macros/py.typed new file mode 100644 index 0000000..e69de29