Feature/49 add more effects on vehicleplayer #260
Annotations
10 errors and 1 warning
Run jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2:
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 jakebailey/pyright-action@v2
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']
|
Loading