Skip to content

Commit ff0ecf7

Browse files
authored
Fix mypy
1 parent 39f12bd commit ff0ecf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -708,12 +708,12 @@ def read_only(self) -> bool:
708708
return self._read_only
709709

710710
@overload
711-
def get_value(self, section: str, option: str, default: str
711+
def get_value(self, section: str, option: str, default: Optional[str]
712712
) -> str:
713713
...
714714

715715
@overload
716-
def get_value(self, section: str, option: str, default: float
716+
def get_value(self, section: str, option: str, default: Optional[float]
717717
) -> float:
718718
...
719719

0 commit comments

Comments
 (0)