Skip to content

Commit 839da67

Browse files
authored
Use type hints when getting config object (#773)
The `get_config` class method now uses type hints which helps IDEs (and me) Signed-off-by: Juan Antonio Osorio <[email protected]>
1 parent 5e05439 commit 839da67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegate/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,5 +360,5 @@ def load(
360360
return config
361361

362362
@classmethod
363-
def get_config(cls):
363+
def get_config(cls) -> "Config":
364364
return cls.__config

0 commit comments

Comments
 (0)