Skip to content

Commit e4bfd2e

Browse files
committed
Declare package to be fully typed
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.
1 parent 751035d commit e4bfd2e

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed

django_lifecycle/py.typed

Whitespace-only changes.

django_lifecycle_checks/py.typed

Whitespace-only changes.

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def readme():
4747
author=get_metadata("django_lifecycle", "author"),
4848
author_email=get_metadata("django_lifecycle", "author_email"),
4949
packages=["django_lifecycle", "django_lifecycle_checks", "django_lifecycle.conditions"],
50+
include_package_data=True,
5051
url="https://github.com/rsinger86/django-lifecycle",
5152
project_urls={
5253
"Documentation": "https://rsinger86.github.io/django-lifecycle/",

0 commit comments

Comments
 (0)