Skip to content

Commit 405ee26

Browse files
committed
blackify
1 parent 541e790 commit 405ee26

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/load_distribution/load_distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def singularities_to_polygon(los: list[Singularity], xy: bool = False) -> Polygo
202202
if prev_x is not None and not math.isclose(prev_x, sing.x0):
203203
x_acc.append(sing.x0)
204204
x_acc.append(sing.x0 + eps)
205-
x_acc.append(sing.x1 - 10*eps)
205+
x_acc.append(sing.x1 - 10 * eps)
206206
prev_x = sing.x1
207207

208208
# There are two scenarios: sing functions that describe trapezoids/triangles

tests/test_load_distribution.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ def test_singularities_to_polygon():
199199
assert (
200200
ld.singularities_to_polygon(
201201
[ld.Singularity(x0=1.0, x1=3.0, m=0.0, y0=10.0, precision=6, eps=1e-12)]
202-
203202
).wkt
204203
== "POLYGON ((1 0, 1 10, 3 10, 3 0, 1 0))"
205204
)

0 commit comments

Comments
 (0)