black, ruff

This commit is contained in:
Andrej730
2026-08-17 19:00:08 +05:00
parent 6318892a97
commit ba90cf220d
4 changed files with 14 additions and 8 deletions
@@ -51,11 +51,13 @@ def test_create_stationing_referent_name_includes_alignment_name():
referents = [
r
for r in ifcopenshell.util.element.get_components(alignment)
if r.is_a("IfcReferent") and ifcopenshell.util.element.get_pset(r, name="Pset_Stationing", prop="Station") == 4900.0
if r.is_a("IfcReferent")
and ifcopenshell.util.element.get_pset(r, name="Pset_Stationing", prop="Station") == 4900.0
]
assert len(referents) == 1
assert referents[0].Name == "TestAlignment 49+00.00"
try:
ifcopenshell.file(schema="IFC4")
IFC4X3_AVAILABLE = True