diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2021-08-03 17:12:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 17:12:49 +0100 |
commit | 9c7a44fddc3d69781eab975b2b58c2e338092116 (patch) | |
tree | 0fff6beb11bc83aaf328756e212cd7481a718087 /git/config.py | |
parent | 0b89bfe855f0faadf359efcfad8ae752d98c6032 (diff) | |
download | gitpython-9c7a44fddc3d69781eab975b2b58c2e338092116.tar.gz |
Fix trailing whitespace and incorrect overload
Diffstat (limited to 'git/config.py')
-rw-r--r-- | git/config.py | 4 |
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 |