From fc04997fa483464d5daee52a9d70745df555f5b1 Mon Sep 17 00:00:00 2001 From: decorator-factory <42166884+decorator-factory@users.noreply.github.com> Date: Tue, 15 Dec 2020 09:30:53 +0300 Subject: Fix f-string referencing the wrong name Fix missing type annotation Lint fix --- backend/route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/route.py') diff --git a/backend/route.py b/backend/route.py index d8c38fc..d778bf0 100644 --- a/backend/route.py +++ b/backend/route.py @@ -9,7 +9,7 @@ class Route(HTTPEndpoint): path: str @classmethod - def check_parameters(cls): + def check_parameters(cls) -> None: if not hasattr(cls, "name"): raise ValueError(f"Route {cls.__name__} has not defined a name") -- cgit v1.2.3