[PR #1787] make_game: add 14 missing function return type annotations (OLD-9988) #1800

Open
opened 2026-11-26 21:19:00 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1787
Author: @Ch1mpleo
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: carry/old-9988


📝 Commits (2)

  • aee7723 chore(build): Added missing types to build.py
  • a47d09c fix: updated fail and load_version type returns

📊 Changes

1 file changed (+15 additions, -13 deletions)

View changed files

📝 make_game.py (+15 -13)

📄 Description

Claimed in the coordination issue as: OLD-9988 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7161978345)

What and why

Carries forward old-pr/9988 (draft #257, preserving Jake Reddy's two original commits) rebased onto current main. Adds the 14 missing function return type annotations in make_game.py.

Tested

  • python -m compileall -q make_game.py — exit 0.
  • python -I make_game.py --help — exit 0.
  • python -I tests/test_text_write_line_endings.py — 3 tests, OK (Windows 11 x64, Python 3.14.7).
  • python -I scripts/check_no_game_data.py make_game.py — exit 0.

GPUs tested: n/a (CPU-only Python type annotations)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled
    eeds rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — no translator change)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1787 **Author:** [@Ch1mpleo](https://github.com/Ch1mpleo) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `carry/old-9988` --- ### 📝 Commits (2) - [`aee7723`](https://github.com/ubiquitarianism/leonida/commit/aee77237053d2704d2e139bbbcca4308159d2fef) chore(build): Added missing types to build.py - [`a47d09c`](https://github.com/ubiquitarianism/leonida/commit/a47d09c89e5c55bb93a2d1f7127e54126c13e47d) fix: updated fail and load_version type returns ### 📊 Changes **1 file changed** (+15 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `make_game.py` (+15 -13) </details> ### 📄 Description Claimed in the coordination issue as: OLD-9988 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7161978345) ### What and why Carries forward old-pr/9988 (draft #257, preserving Jake Reddy's two original commits) rebased onto current main. Adds the 14 missing function return type annotations in make_game.py. ### Tested - python -m compileall -q make_game.py — exit 0. - python -I make_game.py --help — exit 0. - python -I tests/test_text_write_line_endings.py — 3 tests, OK (Windows 11 x64, Python 3.14.7). - python -I scripts/check_no_game_data.py make_game.py — exit 0. GPUs tested: n/a (CPU-only Python type annotations) AI-assisted: yes ### Checklist - [x] Based on current main and merges cleanly (a conflicting pull request is labeled eeds rebase). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — no translator change) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1800
No description provided.