[PR #478] [MERGED] bary_fallback_gs: reject negative or bool bary_location #528

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/478
Author: @kotekompotek
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD

Base: main ← Head: work/bary-fallback-gs-validate-bary-loc


📝 Commits (1)

  • 10417ec bary_fallback_gs: reject negative or bool bary_location

📊 Changes

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

View changed files

📝 tests/test_bary_fallback_gs.py (+5 -0)
📝 tools/bary_fallback_gs.py (+2 -0)

📄 Description

Validates that bary_location in gs_spvasm() is a non-negative int (rejecting bool and negative values). Verified with pytest: 28 passed, 1 skipped.


🔄 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/478 **Author:** [@kotekompotek](https://github.com/kotekompotek) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `work/bary-fallback-gs-validate-bary-loc` --- ### 📝 Commits (1) - [`10417ec`](https://github.com/ubiquitarianism/leonida/commit/10417ec0f5ec01fce1c89ecce43877d7026cbc80) bary_fallback_gs: reject negative or bool bary_location ### 📊 Changes **2 files changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_bary_fallback_gs.py` (+5 -0) 📝 `tools/bary_fallback_gs.py` (+2 -0) </details> ### 📄 Description Validates that bary_location in gs_spvasm() is a non-negative int (rejecting bool and negative values). Verified with pytest: 28 passed, 1 skipped. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:18:11 +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#528
No description provided.