Skip to content

Commit

Permalink
Add type marker for PEP 561 compliance
Browse files Browse the repository at this point in the history
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 fralau#219.
  • Loading branch information
kchr committed Jun 1, 2024
1 parent 0ee9856 commit e2126bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include README.md
include LICENSE.md
include mkdocs_macros/*.md
include mkdocs_macros/py.typed
Empty file added mkdocs_macros/py.typed
Empty file.

0 comments on commit e2126bb

Please sign in to comment.