diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2021-08-03 16:43:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 16:43:36 +0100 |
commit | ff0ecf7ff56ea1e19f0c4e3be24b893049939916 (patch) | |
tree | cddeff4a930e927c4825e1ded0fd327c6ac5c761 | |
parent | 39f12bd49a49b96d435c0ab7915bde6011d34f0f (diff) | |
download | gitpython-ff0ecf7ff56ea1e19f0c4e3be24b893049939916.tar.gz |
Fix mypy
-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 011d0e0b..d65360fe 100644 --- a/git/config.py +++ b/git/config.py @@ -708,12 +708,12 @@ class GitConfigParser(cp.RawConfigParser, metaclass=MetaParserBuilder): return self._read_only @overload - def get_value(self, section: str, option: str, default: str + def get_value(self, section: str, option: str, default: Optional[str] ) -> str: ... @overload - def get_value(self, section: str, option: str, default: float + def get_value(self, section: str, option: str, default: Optional[float] ) -> float: ... |