From d20f9126524796af23865810fafa09ba7f8a12f7 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Date: Mon, 27 Jan 2025 09:09:22 +0200 Subject: [PATCH] Use type hints when getting config object The `get_config` class method now uses type hints which helps IDEs (and me) Signed-off-by: Juan Antonio Osorio --- src/codegate/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegate/config.py b/src/codegate/config.py index dbe17fff..43bd5db1 100644 --- a/src/codegate/config.py +++ b/src/codegate/config.py @@ -360,5 +360,5 @@ def load( return config @classmethod - def get_config(cls): + def get_config(cls) -> "Config": return cls.__config