Skip to content

Commit 105ee78

Browse files
committed
Add py.typed marker file
Currently `django-render-block` includes type annotations, but these are ignored when type-checking an application that uses this library. By including the `py.typed` marker file in the wheel, type checkers like `mypy` can check whether applications call `django-render-block` with the correct types. https://www.python.org/dev/peps/pep-0561/#packaging-type-information
1 parent fe03818 commit 105ee78

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

render_block/py.typed

Whitespace-only changes.

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ packages =
3939
install_requires = django>=4.2
4040
python_requires = >=3.9
4141

42+
[options.package_data]
43+
render_block = py.typed
44+
4245
[options.extras_require]
4346
dev =
4447
Jinja2>=2.8

0 commit comments

Comments
 (0)