Skip to content

👷 CI: 测试矩阵添加 Python 3.12 (#2441) #346

👷 CI: 测试矩阵添加 Python 3.12 (#2441)

👷 CI: 测试矩阵添加 Python 3.12 (#2441) #346

Triggered via push November 8, 2023 02:30
Status Failure
Total duration 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pyright.yml

on: push
Pyright Lint
33s
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)