Skip to content

Commit

Permalink
Type hinted converted_config variable in _read_as_ini
Browse files Browse the repository at this point in the history
  • Loading branch information
LobaDK committed Sep 9, 2024
1 parent f8c8959 commit 5249f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def _read_as_ini(self, file: IO) -> Dict[str, Any]:
config = ConfigParser(allow_no_value=True)
config.read_file(f=file)

converted_config = {}
converted_config: Dict[str, Any] = {}
for section in config.sections():
converted_config[section] = {}
for key, value in config.items(section=section):
Expand Down

0 comments on commit 5249f2f

Please sign in to comment.