Use Ruff and enforce full type annotation coverage #146
Annotations
2 errors and 1 warning
Run jakebailey/pyright-action@v1:
src/fastapi_poe/base.py#L425
Argument of type "(request: Request, ex: Exception) -> Coroutine[Any, Any, None]" cannot be assigned to parameter "handler" of type "ExceptionHandler" in function "add_exception_handler"
Type "(request: Request, ex: Exception) -> Coroutine[Any, Any, None]" cannot be assigned to type "ExceptionHandler"
Type "(request: Request, ex: Exception) -> Coroutine[Any, Any, None]" cannot be assigned to type "HTTPExceptionHandler"
Function return type "Coroutine[Any, Any, None]" is incompatible with type "Response | Awaitable[Response]"
Type "Coroutine[Any, Any, None]" cannot be assigned to type "Response | Awaitable[Response]"
"Coroutine[Any, Any, None]" is incompatible with "Response"
"Coroutine[Any, Any, None]" is incompatible with "Awaitable[Response]"
Type "(request: Request, ex: Exception) -> Coroutine[Any, Any, None]" cannot be assigned to type "WebSocketExceptionHandler"
Parameter 1: type "WebSocket" cannot be assigned to type "Request"
... (reportArgumentType)
|
Run jakebailey/pyright-action@v1
1 error
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading