Skip to content

low hanging fruit for NinjaBackend typing#15787

Merged
dcbaker merged 8 commits intomesonbuild:masterfrom
bonzini:mypy-ninja-simple
May 8, 2026
Merged

low hanging fruit for NinjaBackend typing#15787
dcbaker merged 8 commits intomesonbuild:masterfrom
bonzini:mypy-ninja-simple

Conversation

@bonzini
Copy link
Copy Markdown
Contributor

@bonzini bonzini commented May 8, 2026

This goes from 208 to 136 issues. Most of them are related to Compiler types and build.ninja objects.

….__init__

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
@bonzini bonzini requested a review from jpakkane as a code owner May 8, 2026 09:43
@bonzini bonzini added the typing label May 8, 2026
@bonzini bonzini force-pushed the mypy-ninja-simple branch from 3b20b46 to 5b7d4c8 Compare May 8, 2026 10:24
bonzini added 3 commits May 8, 2026 14:01
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
@bonzini bonzini force-pushed the mypy-ninja-simple branch from 5b7d4c8 to 313a20f Compare May 8, 2026 12:01
bonzini added 4 commits May 8, 2026 14:07
Allow passing a T.List[str], but unlike T.Sequence[] do not allow a single string.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Do not use assertions to avoid failures in test_setup_loaded_modules.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
@bonzini bonzini force-pushed the mypy-ninja-simple branch from 313a20f to 035c485 Compare May 8, 2026 12:11
@dcbaker dcbaker merged commit e959c09 into mesonbuild:master May 8, 2026
30 checks passed
@bonzini bonzini deleted the mypy-ninja-simple branch May 8, 2026 14:41
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