Skip to content

Merge branch 'refactor/unittests_fixes' into development #280

Merge branch 'refactor/unittests_fixes' into development

Merge branch 'refactor/unittests_fixes' into development #280

Triggered via push December 3, 2024 07:39
Status Failure
Total duration 3m 11s
Artifacts

ci.yml

on: push
Run Pyright
30s
Run Pyright
Check coding style via flake8
11s
Check coding style via flake8
Run fast tests with pytest
26s
Run fast tests with pytest
Run slow tests with pytest
3m 0s
Run slow tests with pytest
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Run Pyright: src/DataModel/InitializationCar.py#L120
Argument of type "(value_tuple: tuple[int, int, int, int, int]) -> None" cannot be assigned to parameter "location_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "(value_tuple: tuple[int, int, int, int, int]) -> None" is not assignable to type "(tuple[Any]) -> None"     Parameter 1: type "tuple[Any]" is incompatible with type "tuple[int, int, int, int, int]"       "tuple[Any]" is not assignable to "tuple[int, int, int, int, int]"         Tuple size mismatch; expected 5 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/InitializationCar.py#L122
Argument of type "() -> None" cannot be assigned to parameter "offset_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "() -> None" is not assignable to type "(tuple[Any]) -> None"     Function accepts too many positional parameters; expected 0 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/InitializationCar.py#L123
Argument of type "() -> None" cannot be assigned to parameter "version_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "() -> None" is not assignable to type "(tuple[Any]) -> None"     Function accepts too many positional parameters; expected 0 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/InitializationCar.py#L124
Argument of type "() -> None" cannot be assigned to parameter "battery_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "() -> None" is not assignable to type "(tuple[Any]) -> None"     Function accepts too many positional parameters; expected 0 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/PhysicalCar.py#L46
Argument of type "(value_tuple: tuple[int, int, int, int, int]) -> None" cannot be assigned to parameter "location_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "(value_tuple: tuple[int, int, int, int, int]) -> None" is not assignable to type "(tuple[Any]) -> None"     Parameter 1: type "tuple[Any]" is incompatible with type "tuple[int, int, int, int, int]"       "tuple[Any]" is not assignable to "tuple[int, int, int, int, int]"         Tuple size mismatch; expected 5 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/PhysicalCar.py#L47
Argument of type "(value_tuple: tuple[int, int, int, int]) -> None" cannot be assigned to parameter "transition_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "(value_tuple: tuple[int, int, int, int]) -> None" is not assignable to type "(tuple[Any]) -> None"     Parameter 1: type "tuple[Any]" is incompatible with type "tuple[int, int, int, int]"       "tuple[Any]" is not assignable to "tuple[int, int, int, int]"         Tuple size mismatch; expected 4 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/PhysicalCar.py#L48
Argument of type "(value_tuple: tuple[float, Any]) -> None" cannot be assigned to parameter "offset_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "(value_tuple: tuple[float, Any]) -> None" is not assignable to type "(tuple[Any]) -> None"     Parameter 1: type "tuple[Any]" is incompatible with type "tuple[float, Any]"       "tuple[Any]" is not assignable to "tuple[float, Any]"         Tuple size mismatch; expected 2 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/PhysicalCar.py#L78
Argument of type "(value_tuple: tuple[int, int, int, int, int]) -> None" cannot be assigned to parameter "location_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "(value_tuple: tuple[int, int, int, int, int]) -> None" is not assignable to type "(tuple[Any]) -> None"     Parameter 1: type "tuple[Any]" is incompatible with type "tuple[int, int, int, int, int]"       "tuple[Any]" is not assignable to "tuple[int, int, int, int, int]"         Tuple size mismatch; expected 5 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/PhysicalCar.py#L79
Argument of type "(value_tuple: tuple[int, int, int, int]) -> None" cannot be assigned to parameter "transition_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "(value_tuple: tuple[int, int, int, int]) -> None" is not assignable to type "(tuple[Any]) -> None"     Parameter 1: type "tuple[Any]" is incompatible with type "tuple[int, int, int, int]"       "tuple[Any]" is not assignable to "tuple[int, int, int, int]"         Tuple size mismatch; expected 4 but received 1 (reportArgumentType)
Run Pyright: src/DataModel/PhysicalCar.py#L80
Argument of type "(value_tuple: tuple[float, Any]) -> None" cannot be assigned to parameter "offset_callback" of type "(tuple[Any]) -> None" in function "set_callbacks"   Type "(value_tuple: tuple[float, Any]) -> None" is not assignable to type "(tuple[Any]) -> None"     Parameter 1: type "tuple[Any]" is incompatible with type "tuple[float, Any]"       "tuple[Any]" is not assignable to "tuple[float, Any]"         Tuple size mismatch; expected 2 but received 1 (reportArgumentType)
Check coding style via flake8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run fast tests with pytest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Pyright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Pyright
Unexpected input(s) 'workdir', 'args', valid inputs are ['version', 'pylance-version', 'working-directory', 'annotate', 'create-stub', 'dependencies', 'ignore-external', 'level', 'project', 'python-platform', 'python-path', 'python-version', 'skip-unannotated', 'stats', 'typeshed-path', 'venv-path', 'verbose', 'verify-types', 'warnings', 'extra-args', 'lib', 'no-comments']
Run slow tests with pytest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636