From 41514371b0a691b83e5b89c4396dba473b601f4b Mon Sep 17 00:00:00 2001 From: mac-agent Date: Sun, 29 Mar 2026 07:14:57 -0400 Subject: [PATCH] Add py.typed marker for PEP 561 compliance Closes #696 This allows type checkers (mypy, pyright) to recognize the markdown2 package as typed, eliminating 'missing stubs/py.typed' warnings. Changes: - Added empty marker file (PEP 561) - Updated MANIFEST.in to include the marker in sdist --- MANIFEST.in | 1 + lib/py.typed | 0 2 files changed, 1 insertion(+) create mode 100644 lib/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index 3d26d254..e8fa093e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,6 +6,7 @@ include CHANGES.md include Makefile include setup.py include setup.cfg +include lib/py.typed include bin/markdown2 include test/api.doctests diff --git a/lib/py.typed b/lib/py.typed new file mode 100644 index 00000000..e69de29b