From af02a6b3a698bb8aec10843730a46c06e78071de Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 9 Jul 2025 13:55:00 +0500 Subject: [PATCH] Fix UP037 (quoted-annotation) --- src/bonsai/bonsai/bim/operator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bonsai/bonsai/bim/operator.py b/src/bonsai/bonsai/bim/operator.py index e424d95f1e..1792db7dcb 100644 --- a/src/bonsai/bonsai/bim/operator.py +++ b/src/bonsai/bonsai/bim/operator.py @@ -1423,7 +1423,7 @@ class BIM_OT_attribute_add_subitem(bpy.types.Operator): data_path: str def execute(self, context) -> set["rna_enums.OperatorReturnItems"]: - col: "bpy.types.bpy_prop_collection_idprop[StrProperty]" + col: bpy.types.bpy_prop_collection_idprop[StrProperty] col = eval(self.data_path) col.add() return {"FINISHED"} @@ -1444,7 +1444,7 @@ class BIM_OT_attribute_remove_subitem(bpy.types.Operator): index: int def execute(self, context) -> set["rna_enums.OperatorReturnItems"]: - col: "bpy.types.bpy_prop_collection_idprop[StrProperty]" + col: bpy.types.bpy_prop_collection_idprop[StrProperty] col = eval(self.data_path) col.remove(self.index) return {"FINISHED"}