Skip to content

Commit 14c2f80

Browse files
JAORMXlukehinds
authored andcommitted
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 007ea13 commit 14c2f80

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)