📝 Docs: 修复事件后处理函数类型 docstring 错误 (#2459) #357
Annotations
8 errors
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/driver/combine.py#L38
No overloads for "__get__" match the provided arguments (reportGeneralTypeIssues)
|
Pyright Lint:
nonebot/internal/driver/combine.py#L38
Argument of type "CombinedDriver" cannot be assigned to parameter "obj" of type "None" in function "__get__"
"CombinedDriver" is incompatible with "None" (reportGeneralTypeIssues)
|
Pyright Lint:
nonebot/internal/driver/combine.py#L40
No overloads for "join" match the provided arguments (reportGeneralTypeIssues)
|
Pyright Lint:
nonebot/internal/driver/combine.py#L40
No overloads for "__get__" match the provided arguments (reportGeneralTypeIssues)
|
Pyright Lint:
nonebot/internal/driver/combine.py#L40
Argument of type "CombinedDriver" cannot be assigned to parameter "obj" of type "None" in function "__get__"
"CombinedDriver" is incompatible with "None" (reportGeneralTypeIssues)
|
Pyright Lint:
nonebot/internal/matcher/matcher.py#L316
Expression of type "type[_]" cannot be assigned to return type "type[Self@Matcher]"
Type "type[_]" cannot be assigned to type "type[Self@Matcher]" (reportGeneralTypeIssues)
|
Pyright Lint
7 errors
|