dbbc32f4ec
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
2026-02-23 16:53:33 +00:00
8b743abcfb
rename UK Lotto to Lotto to match the website.
...
patch bump
2026-02-22 23:34:10 +00:00
56028b2c52
get Result kind name from class type, it's more flexible to change.
...
patch bump
2026-02-22 23:24:36 +00:00
67b3887bc8
should we get a ValueError when requesting a lottery object allow it to bubble up.
...
patch bump
2026-02-22 14:33:48 +00:00
2e0052b5fe
upd docstrings
2026-02-22 13:29:06 +00:00
3ecfb84a87
remove comment
2026-02-21 22:12:55 +00:00
039487cfc5
sort the numbers before printing them
...
upd screenshot to reflect sorted results
patch bump
2026-02-21 22:08:45 +00:00
84fcbd326a
add annotations
2026-02-21 22:03:52 +00:00
47ced52722
check for empty selection and return early if blank.
...
this fixes a crash should a draw be attempted without a selection.
2026-02-21 21:56:05 +00:00
d3e9363424
remove unused rules
2026-02-21 21:22:07 +00:00
b28b04c603
initial commit
2026-02-21 21:06:21 +00:00