Skip to content

Commit d0f1927

Browse files
alexfiklinducer
authored andcommitted
fix: ruff 0.11.4 warning for tuple splatting (RUF005)
1 parent 08a0a98 commit d0f1927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jw_meshtools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ def ContourSurface(p, t, u, iso_in, infig):
757757
for k in range(len(nis) - 1):
758758
hhelp = iso_edges[nis[k] : nis[k + 1]]
759759
# take only each second point
760-
unique_ie = [hhelp[0]] + hhelp[1:-1:2] + [hhelp[-1]]
760+
unique_ie = [hhelp[0], *hhelp[1:-1:2], hhelp[-1]]
761761

762762
# Compute polygon for this iso curve
763763
X = Y = Z = []

0 commit comments

Comments
 (0)