Fixes initialization from config-handler by reading values from "virt… #273
ci.yml
on: push
Run Pyright
26s
Check coding style via flake8
6s
Run fast tests with pytest
23s
Run slow tests with pytest
2m 58s
Annotations
12 errors and 5 warnings
Check coding style via flake8
The process '/opt/hostedtoolcache/Python/3.11.10/x64/bin/flake8' failed with exit code 1
|
Run fast tests with pytest
Process completed with exit code 1.
|
Run Pyright:
src/main.py#L56
Argument of type "BehaviourController" cannot be assigned to parameter "behaviour_ctrl" of type "Module("VehicleMovementManagement.BehaviourController")" in function "__init__"
Type "BehaviourController" is not assignable to type "Module("VehicleMovementManagement.BehaviourController")" (reportArgumentType)
|
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)
|
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
|