Skip to content

fully type safe hotdoc module#15790

Merged
bonzini merged 5 commits into
mesonbuild:masterfrom
dcbaker:submit/type-hotdoc
May 14, 2026
Merged

fully type safe hotdoc module#15790
bonzini merged 5 commits into
mesonbuild:masterfrom
dcbaker:submit/type-hotdoc

Conversation

@dcbaker

@dcbaker dcbaker commented May 8, 2026

Copy link
Copy Markdown
Member

This is the last of the modules, with this done all modules are type safe!

@dcbaker dcbaker requested a review from jpakkane as a code owner May 8, 2026 16:24
@dcbaker dcbaker added the typing label May 8, 2026
@dcbaker dcbaker force-pushed the submit/type-hotdoc branch from a1f137d to 8b66148 Compare May 8, 2026 17:20
Comment thread mesonbuild/modules/hotdoc.py Outdated
dcbaker added 5 commits May 11, 2026 08:51
Also, remove the unused HotdocTargetBuilder.extra_assets
Mainly this is due to deleting fields (requires Total=False), and the
fact that Python cannot (yet) represent arbitrary keys. I've just
type: ignored those issues for now and we can revisit when PEP 728 is
implemented and Python can represent that.

Also, make the build_by_default parameter explicit
@dcbaker dcbaker force-pushed the submit/type-hotdoc branch from 8b66148 to 5f94c01 Compare May 11, 2026 15:54
@bonzini bonzini merged commit 821063d into mesonbuild:master May 14, 2026
50 of 56 checks passed
@dcbaker dcbaker deleted the submit/type-hotdoc branch June 5, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants