Repository navigation
Fix: 支持带时区的 expire_time 过期判断 - #4237
Merged
Merged
Annotations
4 errors, 1 warning, and 1 notice
|
Run Pyright
3 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#L119
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#L87
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/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