From 3f66fd1f3124b4a03529903359db9474a9ce9c96 Mon Sep 17 00:00:00 2001 From: Your_Name Your_Surname Date: Tue, 19 Sep 2023 16:36:32 +0300 Subject: [PATCH] fix flake8 --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 145f4cbc..e05c13ca 100644 --- a/app/main.py +++ b/app/main.py @@ -6,7 +6,7 @@ def cache(func: Callable) -> Callable: result: dict = {} @wraps(func) - def inner(*args): + def inner(*args) -> list: if args not in result.keys(): result[args] = func(*args) print("Calculating new result")