diff --git a/src/bonsai/bonsai/bim/module/drawing/annotation.py b/src/bonsai/bonsai/bim/module/drawing/annotation.py index 274b016884..23d243671d 100644 --- a/src/bonsai/bonsai/bim/module/drawing/annotation.py +++ b/src/bonsai/bonsai/bim/module/drawing/annotation.py @@ -131,7 +131,7 @@ class Annotator: ) -> bpy.types.Object: camera = tool.Ifc.get_object(drawing) # those annotations you want to obey the depth of the 3d cursor - if object_type == 'PLAN_LEVEL': + if object_type == "PLAN_LEVEL": co1 = bpy.context.scene.cursor.location.copy() else: co1, _, _, _ = Annotator.get_placeholder_coords(camera) diff --git a/src/ifcopenshell-python/test/api/project/test_append_asset.py b/src/ifcopenshell-python/test/api/project/test_append_asset.py index 3028269931..5fc6127c21 100644 --- a/src/ifcopenshell-python/test/api/project/test_append_asset.py +++ b/src/ifcopenshell-python/test/api/project/test_append_asset.py @@ -85,7 +85,9 @@ class TestAppendAssetIFC2X3(test.bootstrap.IFC2X3): library = ifcopenshell.api.project.create_file(version=self.file.schema) ifcopenshell.api.root.create_entity(library, ifc_class="IfcProject") lib_context = ifcopenshell.api.context.add_context(library, context_type="Model") - lib_subcontext = ifcopenshell.api.context.add_context(library, context_type="Model", context_identifier="Body", target_view="MODEL_VIEW", parent=lib_context) + lib_subcontext = ifcopenshell.api.context.add_context( + library, context_type="Model", context_identifier="Body", target_view="MODEL_VIEW", parent=lib_context + ) # It has no contexts right now ifcopenshell.api.root.create_entity(self.file, ifc_class="IfcProject")