summaryrefslogtreecommitdiff
path: root/git/config.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2021-08-03 17:12:49 +0100
committerGitHub <noreply@github.com>2021-08-03 17:12:49 +0100
commit9c7a44fddc3d69781eab975b2b58c2e338092116 (patch)
tree0fff6beb11bc83aaf328756e212cd7481a718087 /git/config.py
parent0b89bfe855f0faadf359efcfad8ae752d98c6032 (diff)
downloadgitpython-9c7a44fddc3d69781eab975b2b58c2e338092116.tar.gz
Fix trailing whitespace and incorrect overload
Diffstat (limited to 'git/config.py')
-rw-r--r--git/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/config.py b/git/config.py
index 08e9a8e4..cf32d4ba 100644
--- a/git/config.py
+++ b/git/config.py
@@ -710,12 +710,12 @@ class GitConfigParser(cp.RawConfigParser, metaclass=MetaParserBuilder):
return self._read_only
@overload
- def get_value(self, section: str, option: str, default: None = None) -> str: ...
+ def get_value(self, section: str, option: str, default: None = None) -> Union[int, float, str, bool]: ...
@overload
def get_value(self, section: str, option: str, default: str) -> str: ...
- @overload
+ @overload
def get_value(self, section: str, option: str, default: float) -> float: ...
def get_value(self, section: str, option: str, default: Union[int, float, str, bool, None] = None