chore: Added 14 missing function output type annotations in build.py #257

Open
github-bot wants to merge 3 commits from github-bot/gh-257 into main AGit
Owner

@⁠Andretuta on GitHub · 2026-11-24 02:54 UTC · original
ubiquitarianism:old-pr/9988 → main · +15 −14 · 1 files · 3 commits · draft

Carried over from old PR 9988 by jakewdr in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9988, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
jakewdr: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Claimed in the coordination issue as: BUILD-3775

What and why

Adds missing types which help provide context to the build python source file, helping contributors discern the file's layout.

Tested

Ran all corresponding Python build tests which passed.

AI-assisted: no

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
**@⁠Andretuta** on GitHub · 2026-11-24 02:54 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/257) `ubiquitarianism:old-pr/9988` → `main` · +15 −14 · 1 files · 3 commits · draft > Carried over from **old PR 9988** by `jakewdr` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9988`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `jakewdr`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Claimed in the coordination issue as: BUILD-3775 ### What and why Adds missing types which help provide context to the build python source file, helping contributors discern the file's layout. ### Tested Ran all corresponding Python build tests which passed. AI-assisted: no ### Checklist - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
- Added explicit return types to all functions in build.py which didn't have on prior, bar class __init__
- Changed fail from None to NoReturn
- Changed load_version from dict | None to dict
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:50:46 +00:00
This pull request has changes conflicting with the target branch.
  • make_game.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/257/head:github-bot/gh-257'
git switch 'github-bot/gh-257'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-257'
git switch 'github-bot/gh-257'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-257'
git switch 'github-bot/gh-257'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-257'
git switch 'main'
git merge --squash 'github-bot/gh-257'
git switch 'main'
git merge --ff-only 'github-bot/gh-257'
git switch 'main'
git merge 'github-bot/gh-257'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.