diff --git a/gptc/pack.py b/gptc/pack.py index 4177ad8..931fc01 100644 --- a/gptc/pack.py +++ b/gptc/pack.py @@ -2,11 +2,12 @@ import sys import os +from typing import List, Dict, Tuple -def pack(directory, print_exceptions=False): +def pack(directory: str, print_exceptions: bool=False) -> Tuple[List[Dict[str, str]], List[Tuple[Exception]]]: paths = os.listdir(directory) - texts = {} + texts: Dict[str, List[str]] = {} exceptions = [] for path in paths: