mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 11:20:21 +00:00
Run black on IOS-Python
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user