black and ruff

This commit is contained in:
Bruno Postle
2026-03-23 23:15:08 +00:00
parent b52a23cb93
commit 901306a3fd
34 changed files with 1794 additions and 150 deletions
+3
View File
@@ -15,6 +15,7 @@ class TestContexts:
def test_model_context(self, model):
import ifcopenshell.api.context
ifcopenshell.api.context.add_context(model, context_type="Model")
result = contexts(model)
assert len(result) == 1
@@ -26,6 +27,7 @@ class TestContexts:
def test_subcontext(self, model):
import ifcopenshell.api.context
model_ctx = ifcopenshell.api.context.add_context(model, context_type="Model")
ifcopenshell.api.context.add_context(
model,
@@ -43,6 +45,7 @@ class TestContexts:
def test_ids_are_integers(self, model):
import ifcopenshell.api.context
ifcopenshell.api.context.add_context(model, context_type="Model")
result = contexts(model)
for entry in result: