Skip to content

Fix: 新增 Lifespan.on_ready() 供适配器使用 #386

Fix: 新增 Lifespan.on_ready() 供适配器使用

Fix: 新增 Lifespan.on_ready() 供适配器使用 #386

Triggered via pull request December 6, 2023 07:04
Status Failure
Total duration 34s
Artifacts

pyright.yml

on: pull_request
Pyright Lint
25s
Pyright Lint
Fit to window
Zoom out
Zoom in

Annotations

7 errors
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
6 errors