swap out the NamedTuple for a frozen dataclass.

move the responsibility of sorting the numbers from the caller to the class initialisation.
(now the string representation matches the internal state)

move logging of ValueError from tui.py to lottery.py

patch bump
This commit is contained in:
2026-02-23 16:53:33 +00:00
parent 8b743abcfb
commit dbbc32f4ec
3 changed files with 22 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "lottery-tui"
version = "0.2.6"
version = "0.2.7"
description = "A terminal user interface for lottery games."
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
dependencies = ["textual>=8.0.0", "loguru>=0.7.3"]