release: v0.2.0 #28

Merged
david-spacil merged 35 commits from version/v0.2.0 into main 2026-06-27 19:42:23 +02:00
Showing only changes of commit 5aa5beff69 - Show all commits
+2 -2
View File
@@ -51,7 +51,7 @@ def clear() -> None:
else: else:
_ = system('clear') _ = system('clear')
def evaluate(inp: Any, count: int, throw: str) -> tuple[Any, Any, Any, Any, Any]: def evaluate(inp: Any, count: int, throw: str) -> tuple[Any, ...]:
global h_bool global h_bool
@@ -77,7 +77,7 @@ def evaluate(inp: Any, count: int, throw: str) -> tuple[Any, Any, Any, Any, Any]
inp = str(inp) inp = str(inp)
if re.search(r"^\d+$", inp): if re.search(r"^\d+$", inp):
if len(inp) > count: if len(inp) > count:
data: tuple[Any, Any, Any, Any, Any] = ("msg", "ER01", "Tolika kostkami nemůžete hodit. Zkuste to znovu:", count, throw) data: tuple[Any, ...] = ("msg", "ER01", "Tolika kostkami nemůžete hodit. Zkuste to znovu:", count, throw)
else: else:
for x in inp: for x in inp:
x = int(x) x = int(x)