Run black on IOS-Python

This commit is contained in:
Dion Moult
2024-07-26 12:00:28 +10:00
parent d51fa2c5f7
commit a6286293d8
83 changed files with 603 additions and 637 deletions
@@ -93,12 +93,8 @@ class TestAssignContainer(test.bootstrap.IFC4):
(0.0, 0.0, 0.0, 1.0),
)
)
ifcopenshell.api.geometry.edit_object_placement(
self.file, product=element1, matrix=matrix1.copy(), is_si=False
)
ifcopenshell.api.geometry.edit_object_placement(
self.file, product=element2, matrix=matrix2.copy(), is_si=False
)
ifcopenshell.api.geometry.edit_object_placement(self.file, product=element1, matrix=matrix1.copy(), is_si=False)
ifcopenshell.api.geometry.edit_object_placement(self.file, product=element2, matrix=matrix2.copy(), is_si=False)
ifcopenshell.api.geometry.edit_object_placement(
self.file, product=subelement, matrix=matrix1.copy(), is_si=False
)
@@ -51,9 +51,7 @@ class TestDereferenceStructure(test.bootstrap.IFC4):
subelement1 = ifcopenshell.api.root.create_entity(self.file, ifc_class="IfcWall")
subelement2 = ifcopenshell.api.root.create_entity(self.file, ifc_class="IfcWall")
subelement3 = ifcopenshell.api.root.create_entity(self.file, ifc_class="IfcWall")
ifcopenshell.api.spatial.reference_structure(
self.file, products=[subelement1], relating_structure=element
)
ifcopenshell.api.spatial.reference_structure(self.file, products=[subelement1], relating_structure=element)
ifcopenshell.api.spatial.reference_structure(
self.file, products=[subelement2, subelement3], relating_structure=element
)