Skip to content

Have wheel advertise availability of type annotations#66

Merged
clokep merged 1 commit into
clokep:mainfrom
ProtixIT:advertise-type-annotations
Jun 10, 2025
Merged

Have wheel advertise availability of type annotations#66
clokep merged 1 commit into
clokep:mainfrom
ProtixIT:advertise-type-annotations

Conversation

@mthuurne
Copy link
Copy Markdown
Contributor

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

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
@mthuurne mthuurne requested a review from clokep as a code owner June 10, 2025 13:54
@clokep
Copy link
Copy Markdown
Owner

clokep commented Jun 10, 2025

Thanks!

@clokep clokep merged commit 47e6f07 into clokep:main Jun 10, 2025
6 checks passed
clokep added a commit that referenced this pull request Jun 10, 2025
@mthuurne mthuurne deleted the advertise-type-annotations branch June 11, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants