Skip to content

Commit 924f2d2

Browse files
committed
mypy error
1 parent 18d6222 commit 924f2d2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/unit/test_models.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Test cases for the Spiral model."""
22

33
import datetime
4-
from typing import Dict
4+
from typing import Dict, cast
55

66
import pandas as pd
77
import pytest
@@ -222,12 +222,12 @@ def test_valid_ink_trajectory(
222222
"""
223223
points_df = pd.DataFrame(points_data)
224224

225-
start_circle = models.CircleTarget(**start_params)
226-
end_circle = models.CircleTarget(**end_params)
225+
start_circle = models.CircleTarget(**start_params) # type: ignore[arg-type]
226+
end_circle = models.CircleTarget(**end_params) # type: ignore[arg-type]
227227

228228
line_segment = models.LineSegment(
229-
start_label=start_params["label"],
230-
end_label=end_params["label"],
229+
start_label=cast(str, start_params["label"]),
230+
end_label=cast(str, end_params["label"]),
231231
points=points_df,
232232
is_error=False,
233233
line_number=1,

0 commit comments

Comments
 (0)