fix(ex4): add wraps to every functions;

mypy compliance
This commit is contained in:
2026-03-29 13:33:56 +02:00
parent 1dfeee81e3
commit 1cf669e6f8
6 changed files with 60 additions and 268 deletions
+1 -2
View File
@@ -34,7 +34,6 @@ def memory_vault() -> dict[str, Callable]:
storage = {}
def store(to_store: dict[str, str]) -> None:
nonlocal storage
for data in to_store:
storage[data] = to_store[data]
@@ -47,7 +46,7 @@ def memory_vault() -> dict[str, Callable]:
return {"store": store, "recall": recall}
def main():
def main() -> None:
print("===mage_counter===\n")
count = mage_counter()
print(f"1 : {count()}")