Skip to content

Commit

Permalink
Declare package to be fully typed
Browse files Browse the repository at this point in the history
In order to allow consumers to type-check their code using Mypy or similar
tools, this commit adds `py.typed` marker files to each top-level package and
configures `setup.py` to inclide them in the distribution.
  • Loading branch information
allanlewis committed Dec 9, 2024
1 parent 751035d commit e4bfd2e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
Empty file added django_lifecycle/py.typed
Empty file.
Empty file.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def readme():
author=get_metadata("django_lifecycle", "author"),
author_email=get_metadata("django_lifecycle", "author_email"),
packages=["django_lifecycle", "django_lifecycle_checks", "django_lifecycle.conditions"],
include_package_data=True,
url="https://github.com/rsinger86/django-lifecycle",
project_urls={
"Documentation": "https://rsinger86.github.io/django-lifecycle/",
Expand Down

0 comments on commit e4bfd2e

Please sign in to comment.