CI: add pyright checking workflow #8
Annotations
4 errors and 1 warning
Run Pyright:
githubkit/core.py#L283
Argument of type "QueryParamTypes | None" cannot be assigned to parameter "params" of type "QueryParamTypes | None" in function "build_request"
Type "githubkit.typing.QueryParamTypes | None" is not assignable to type "httpx._types.QueryParamTypes | None"
Type "Sequence[tuple[str, PrimitiveData]]" is not assignable to type "QueryParamTypes | None"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "QueryParams"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "Mapping[str, PrimitiveData | Sequence[PrimitiveData]]"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "List[Tuple[str, PrimitiveData]]"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "Tuple[Tuple[str, PrimitiveData], ...]"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "str"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "bytes"
... (reportArgumentType)
|
Run Pyright:
githubkit/core.py#L319
Argument of type "QueryParamTypes | None" cannot be assigned to parameter "params" of type "QueryParamTypes | None" in function "build_request"
Type "githubkit.typing.QueryParamTypes | None" is not assignable to type "httpx._types.QueryParamTypes | None"
Type "Sequence[tuple[str, PrimitiveData]]" is not assignable to type "QueryParamTypes | None"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "QueryParams"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "Mapping[str, PrimitiveData | Sequence[PrimitiveData]]"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "List[Tuple[str, PrimitiveData]]"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "Tuple[Tuple[str, PrimitiveData], ...]"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "str"
"Sequence[tuple[str, PrimitiveData]]" is not assignable to "bytes"
... (reportArgumentType)
|
Run Pyright:
githubkit/versions/v2022_11_28/rest/repos.py#L11706
Overload 6 for "update_information_about_pages_site" will never be used because its parameters overlap overload 5 (reportOverlappingOverload)
|
Run Pyright
3 errors
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading