From 39d5b1ce1682d9cfd5ae16d139c824ac0ac05c0c Mon Sep 17 00:00:00 2001 From: James Ball Date: Mon, 16 Sep 2024 22:55:26 +0100 Subject: [PATCH] mypy --- detectree2/models/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detectree2/models/train.py b/detectree2/models/train.py index fc0cfd57..2c692f16 100644 --- a/detectree2/models/train.py +++ b/detectree2/models/train.py @@ -608,7 +608,7 @@ def get_tree_dicts(directory: str, class_mapping: Optional[Dict[str, int]] = Non def combine_dicts(root_dir: str, val_dir: int, mode: str = "train", - class_mapping: Optional[Dict[str, int]] = None) -> List[Dict[str, Any]]:`` + class_mapping: Optional[Dict[str, int]] = None) -> List[Dict[str, Any]]: """ Combine dictionaries from different directories based on the specified mode.