Skip to content

fix syntax error

fix syntax error #27

Triggered via push March 6, 2025 17:27
Status Failure
Total duration 36s
Artifacts

pyright.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
pyright: rise/conftest.py#L10
"urllib3" is not a known attribute of module "..packages" (reportAttributeAccessIssue)
pyright: rise/covjson.py#L189
Could not assign item in TypedDict   "list[LocationData]" is not assignable to "LocationData" (reportGeneralTypeIssues)
pyright: rise/covjson.py#L195
No overloads for "__getitem__" match the provided arguments (reportCallIssue)
pyright: rise/covjson.py#L195
Argument of type "Literal['id']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"   "Literal['id']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
pyright: rise/covjson.py#L199
No overloads for "__getitem__" match the provided arguments (reportCallIssue)
pyright: rise/covjson.py#L199
Argument of type "Literal['relationships']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"   "Literal['relationships']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
pyright: rise/covjson.py#L200
No overloads for "__getitem__" match the provided arguments (reportCallIssue)
pyright: rise/covjson.py#L200
Argument of type "Literal['relationships']" cannot be assigned to parameter "s" of type "slice[Any, Any, Any]" in function "__getitem__"   "Literal['relationships']" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
pyright: rise/covjson.py#L200
Could not assign item in TypedDict   "dict[str, list[Unknown]]" is not assignable to "CatalogItemsResponse" (reportGeneralTypeIssues)
pyright: rise/covjson.py#L202
No overloads for "__getitem__" match the provided arguments (reportCallIssue)