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
@@ -9,11 +9,11 @@ import ifcopenshell.api
def test_inverse_indices():
f = ifcopenshell.file()
f = ifcopenshell.file()
p0 = f.createIfcCartesianPoint((0.,0.,0.))
p1 = f.createIfcCartesianPoint((1.,0.,0.))
p2 = f.createIfcCartesianPoint((1.,1.,0.))
p0 = f.createIfcCartesianPoint((0.0, 0.0, 0.0))
p1 = f.createIfcCartesianPoint((1.0, 0.0, 0.0))
p2 = f.createIfcCartesianPoint((1.0, 1.0, 0.0))
poly = f.createIfcPolyline((p0, p1, p2, p0))
place = f.createIfcAxis2Placement3D(p0)
@@ -26,7 +26,7 @@ def test_inverse_indices():
# @nb this doesn't account for nested lists
v = list(v)
i = v.index(p0)
v[i:i+1] = []
v[i : i + 1] = []
else:
v = p1
inst[idx] = v