[PR #230] [CLOSED] psocache_usersig: refuse --limit combined with --entry #280

Closed
opened 2026-11-26 20:17:22 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/230
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: old-pr/9963


📝 Commits (1)

  • 6c3603e psocache_usersig: refuse --limit combined with --entry

📊 Changes

2 files changed (+8 additions, -0 deletions)

View changed files

📝 tests/test_psocache_usersig.py (+6 -0)
📝 tools/psocache_usersig.py (+2 -0)

📄 Description

Carried over from old PR 9963 by al3xar in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9963, 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.
al3xar: 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):

AI-assisted.

Rebased onto current \main\ (\d083a2cc3); previously submitted as #7758 (closed during the bulk PR cleanup; had 1 approval + 4 independent passes on Windows/Linux).

Summary

  • Refuse combining --limit\ with --entry\ in \ ools/psocache_usersig.py\ instead of silently ignoring --limit.
  • Add unit test coverage in \ ests/test_psocache_usersig.py.

Verification

  • \python -I tests/test_psocache_usersig.py: 8 tests OK (Windows 11, CPython 3.15, CPU only, synthetic inputs, no game files).
  • \python -I scripts/check_no_game_data.py tools/psocache_usersig.py tests/test_psocache_usersig.py: clean.

🔄 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/230 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `old-pr/9963` --- ### 📝 Commits (1) - [`6c3603e`](https://github.com/ubiquitarianism/leonida/commit/6c3603e883885197fc0c4ea801e0561562b90b8b) psocache_usersig: refuse --limit combined with --entry ### 📊 Changes **2 files changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_psocache_usersig.py` (+6 -0) 📝 `tools/psocache_usersig.py` (+2 -0) </details> ### 📄 Description > Carried over from **old PR 9963** by `al3xar` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9963`, 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. > `al3xar`: 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): AI-assisted. Rebased onto current \main\ (\d083a2cc3\); previously submitted as `#7758` (closed during the bulk PR cleanup; had 1 approval + 4 independent passes on Windows/Linux). ### Summary - Refuse combining \--limit\ with \--entry\ in \ ools/psocache_usersig.py\ instead of silently ignoring \--limit\. - Add unit test coverage in \ ests/test_psocache_usersig.py\. ### Verification - \python -I tests/test_psocache_usersig.py\: 8 tests OK (Windows 11, CPython 3.15, CPU only, synthetic inputs, no game files). - \python -I scripts/check_no_game_data.py tools/psocache_usersig.py tests/test_psocache_usersig.py\: clean. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:17:22 +01:00
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#280
No description provided.