File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"""Test cases for the Spiral model."""
22
33import datetime
4- from typing import Dict
4+ from typing import Dict , cast
55
66import pandas as pd
77import 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 ,
You can’t perform that action at this time.
0 commit comments