Skip to content

Commit 3b63c5e

Browse files
committed
more lint
1 parent 60ca15e commit 3b63c5e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/compas/geometry/test_curves_line.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ def test_line_create_from_point_direction_length(point, direction, length):
9999
line = Line.from_point_direction_length(point, direction, length)
100100

101101
assert line.start == point
102-
assert line.end == add_vectors(
103-
point, scale_vector(normalize_vector(direction), length))
102+
assert line.end == add_vectors(point, scale_vector(normalize_vector(direction), length))
104103

105104

106105
# =============================================================================
@@ -230,7 +229,8 @@ def test_line_accessors(p1, p2):
230229
],
231230
)
232231
@pytest.mark.parametrize(
233-
"distance", [0, 1, 4, -9, 3.3, 0.00001, -0.00001],
232+
"distance",
233+
[0, 1, 4, -9, 3.3, 0.00001, -0.00001],
234234
)
235235
def test_line_point_from_start(p1, p2, distance):
236236
line = Line(p1, p2)
@@ -254,7 +254,8 @@ def test_line_point_from_start(p1, p2, distance):
254254
],
255255
)
256256
@pytest.mark.parametrize(
257-
"distance", [0, 1, 4, -9, 3.3, 0.00001, -0.00001],
257+
"distance",
258+
[0, 1, 4, -9, 3.3, 0.00001, -0.00001],
258259
)
259260
def test_line_point_from_end(p1, p2, distance):
260261
line = Line(p1, p2)

0 commit comments

Comments
 (0)