🚨 auto fix by pre-commit hooks #352
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)
|