Skip to content

📝 Update changelog #850

📝 Update changelog

📝 Update changelog #850

Triggered via push July 18, 2024 13:35
Status Failure
Total duration 35s
Artifacts

pyright.yml

on: push
Matrix: Pyright Lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Pyright Lint (pydantic-v1): nonebot/typing.py#L90
Second argument to "issubclass" must be a class or tuple of classes   "Annotated" is not supported for instance and class checks (reportArgumentType)
Pyright Lint (pydantic-v1): nonebot/internal/driver/combine.py#L22
Overloaded implementation is not consistent with signature of overload 2   Type "(driver: type[D@combine_driver], *mixins: type[Mixin]) -> (type[D@combine_driver] | type[CombinedDriver])" is incompatible with type "(driver: type[D@combine_driver], _m: type[Mixin], *mixins: type[Mixin]) -> type[CombinedDriver]"     Missing keyword parameter "_m" (reportInconsistentOverload)
Pyright Lint (pydantic-v1)
2 errors
Pyright Lint (pydantic-v2): nonebot/typing.py#L90
Second argument to "issubclass" must be a class or tuple of classes   "Annotated" is not supported for instance and class checks (reportArgumentType)
Pyright Lint (pydantic-v2): nonebot/internal/driver/combine.py#L22
Overloaded implementation is not consistent with signature of overload 2   Type "(driver: type[D@combine_driver], *mixins: type[Mixin]) -> (type[D@combine_driver] | type[CombinedDriver])" is incompatible with type "(driver: type[D@combine_driver], _m: type[Mixin], *mixins: type[Mixin]) -> type[CombinedDriver]"     Missing keyword parameter "_m" (reportInconsistentOverload)
Pyright Lint (pydantic-v2)
2 errors