defined 'ConfigType' for configuration file type hinting

This commit is contained in:
2023-08-12 10:21:09 +02:00
parent 056bf4c6b5
commit bc5e6228a6
3 changed files with 19 additions and 17 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
import shutil
from pprint import PrettyPrinter
from typing import List, Dict
from typing import List, Dict, Union
ConfigType = Dict[str, Union[str, Dict[str, Union[str, int]]]]
def terminal_width() -> int: