black format

This commit is contained in:
Andrej730
2024-02-20 12:38:11 +05:00
parent 551f3b0d8d
commit 54c7f355ff
+2 -2
View File
@@ -35,7 +35,7 @@ class IFC4X3:
class IFC4:
@pytest.fixture(autouse=True)
def setup(self):
self.file:ifcopenshell.file = ifcopenshell.api.run("project.create_file")
self.file: ifcopenshell.file = ifcopenshell.api.run("project.create_file")
ifcopenshell.api.owner.settings.get_user = lambda ifc: (ifc.by_type("IfcPersonAndOrganization") or [None])[0]
ifcopenshell.api.owner.settings.get_application = lambda ifc: (ifc.by_type("IfcApplication") or [None])[0]
ifcopenshell.api.pre_listeners = {}
@@ -45,7 +45,7 @@ class IFC4:
class IFC2X3:
@pytest.fixture(autouse=True)
def setup(self):
self.file:ifcopenshell.file = ifcopenshell.api.run("project.create_file", version="IFC2X3")
self.file: ifcopenshell.file = ifcopenshell.api.run("project.create_file", version="IFC2X3")
ifcopenshell.api.owner.settings.get_user = lambda ifc: ifc.createIfcPersonAndOrganization()
ifcopenshell.api.owner.settings.get_application = lambda ifc: ifc.createIfcApplication()
ifcopenshell.api.pre_listeners = {}