format pack.py

This commit is contained in:
Samuel Sloniker 2022-07-19 16:02:05 -07:00
parent 8c6dd0bde9
commit ff8cba84c7

View File

@ -5,7 +5,9 @@ import os
from typing import List, Dict, Tuple from typing import List, Dict, Tuple
def pack(directory: str, print_exceptions: bool=False) -> Tuple[List[Dict[str, str]], List[Tuple[Exception]]]: def pack(
directory: str, print_exceptions: bool = False
) -> Tuple[List[Dict[str, str]], List[Tuple[Exception]]]:
paths = os.listdir(directory) paths = os.listdir(directory)
texts: Dict[str, List[str]] = {} texts: Dict[str, List[str]] = {}
exceptions = [] exceptions = []