Type generics and missing return types

This commit is contained in:
Marko Durkovic
2021-11-25 14:26:17 +01:00
parent ac704bd890
commit 52480e2bad
26 changed files with 263 additions and 175 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ if TYPE_CHECKING:
from typing import Callable
def pathtype(exists: bool = True) -> Callable:
def pathtype(exists: bool = True) -> Callable[[str], Path]:
"""Path argument for argparse.
Args: