Repository navigation
Feature: 为内置驱动器请求方法添加 auto_redirects 参数, 以便控制重定向行为 - #4201
Merged
Merged
Annotations
5 errors, 1 warning, and 1 notice
|
Run Pyright
4 errors
|
|
Run Pyright:
nonebot/rule.py#L492
Method "parse_args" overrides class "ArgumentParser" in an incompatible manner
Override does not handle all overloads of base method (reportIncompatibleMethodOverride)
|
|
Run Pyright:
nonebot/internal/adapter/bot.py#L173
Argument of type "T_CalledAPIHook" cannot be assigned to parameter "func" of type "(*PosArgsT@start_soon) -> Coroutine[Any, Any, T_co@start_soon]" in function "start_soon"
Type "T_CalledAPIHook" is not assignable to type "(Self@Bot, Exception | None, str, dict[str, Any], Any) -> Coroutine[Any, Any, T_co@start_soon]"
Function return type "Awaitable[Any]" is incompatible with type "Coroutine[Any, Any, T_co@start_soon]"
"Awaitable[Any]" is not assignable to "Coroutine[Any, Any, T_co@start_soon]" (reportArgumentType)
|
|
Run Pyright:
nonebot/internal/adapter/bot.py#L124
Argument of type "T_CallingAPIHook" cannot be assigned to parameter "func" of type "(*PosArgsT@start_soon) -> Coroutine[Any, Any, T_co@start_soon]" in function "start_soon"
Type "T_CallingAPIHook" is not assignable to type "(Self@Bot, str, dict[str, Any]) -> Coroutine[Any, Any, T_co@start_soon]"
Function return type "Awaitable[Any]" is incompatible with type "Coroutine[Any, Any, T_co@start_soon]"
"Awaitable[Any]" is not assignable to "Coroutine[Any, Any, T_co@start_soon]" (reportArgumentType)
|
|
Run Pyright:
nonebot/drivers/aiohttp.py#L356
Argument of type "ClientWebSocketResponse[bool]" cannot be assigned to parameter "websocket" of type "ClientWebSocketResponse[Literal[True]]" in function "__init__"
"ClientWebSocketResponse[bool]" is not assignable to "ClientWebSocketResponse[Literal[True]]"
Type parameter "_DecodeText@ClientWebSocketResponse" is covariant, but "bool" is not a subtype of "Literal[True]"
"bool" is not assignable to type "Literal[True]" (reportArgumentType)
|
|
Run Pyright:
nonebot/internal/adapter/message.py#L125
TypeVar "TM" appears only once in generic function signature
Use "Message[TMS@Message]" instead (reportInvalidTypeVarUse)
|
|
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
background
wait
wait-all
cancel
parallel
Loading