Run black on IfcOpenShell-python.

This commit is contained in:
Dion Moult
2022-01-10 15:42:24 +11:00
parent 256f40ed44
commit 666e484b2b
32 changed files with 368 additions and 242 deletions
@@ -36,11 +36,7 @@ class TestRemoveRepresentation(test.bootstrap.IFC4):
self.file.createIfcWallType(RepresentationMaps=[representation_map])
representation = self.file.createIfcShapeRepresentation(
RepresentationType="MappedRepresentation",
Items=[
self.file.createIfcMappedItem(
MappingTarget=representation_map
)
],
Items=[self.file.createIfcMappedItem(MappingTarget=representation_map)],
)
assert len(self.file.by_type("IfcShapeRepresentation")) == 2
ifcopenshell.api.run("geometry.remove_representation", self.file, representation=representation)