mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 09:53:32 +01:00
Fix errors reported by mypy
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f3ba709d21
commit
bfd0544ff8
13 changed files with 68 additions and 71 deletions
|
|
@ -103,7 +103,7 @@ class Config(): # export
|
|||
|
||||
self.__conf.dump(DEBUG, "superposed configuration")
|
||||
|
||||
def __getitem__(self, key: str) -> Optional[str]:
|
||||
def __getitem__(self, key: str) -> str:
|
||||
ret = self.get(key)
|
||||
if ret is None:
|
||||
raise KeyError(key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue