Skip to content

📝 Update changelog #353

📝 Update changelog

📝 Update changelog #353

Triggered via push November 10, 2023 12:05
Status Failure
Total duration 28s
Artifacts

pyright.yml

on: push
Pyright Lint
20s
Pyright Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Pyright Lint: nonebot/internal/adapter/message.py#L179
Expression of type "Message[TMS@Message]" cannot be assigned to return type "Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L183
Expression of type "Message[TMS@Message]" cannot be assigned to return type "Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L265
Expression of type "Message[TMS@Message]" cannot be assigned to return type "TMS@Message | Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "TMS@Message | Self@Message[TMS@Message]"     Type "Message[TMS@Message]" cannot be assigned to type "TMS@Message"     Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L267
Expression of type "Message[TMS@Message]" cannot be assigned to return type "TMS@Message | Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "TMS@Message | Self@Message[TMS@Message]"     Type "Message[TMS@Message]" cannot be assigned to type "TMS@Message"     Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L271
Expression of type "Message[TMS@Message]" cannot be assigned to return type "TMS@Message | Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "TMS@Message | Self@Message[TMS@Message]"     Type "Message[TMS@Message]" cannot be assigned to type "TMS@Message"     Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L322
Expression of type "Message[TMS@Message]" cannot be assigned to return type "Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L332
Expression of type "Message[TMS@Message]" cannot be assigned to return type "Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L399
Expression of type "Message[TMS@Message]" cannot be assigned to return type "Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L414
Expression of type "Message[TMS@Message]" cannot be assigned to return type "Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)
Pyright Lint: nonebot/internal/adapter/message.py#L425
Expression of type "Message[TMS@Message]" cannot be assigned to return type "Self@Message[TMS@Message]"   Type "Message[TMS@Message]" cannot be assigned to type "Self@Message[TMS@Message]" (reportGeneralTypeIssues)