CI: add pyright checking workflow #7
pyright.yml
on: pull_request
Codegen Lint
1m 58s
Matrix: GitHubKit Lint
Annotations
12 errors and 3 warnings
GitHubKit Lint (pydantic-v1):
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)
|
GitHubKit Lint (pydantic-v1):
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)
|
GitHubKit Lint (pydantic-v1):
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)
|
GitHubKit Lint (pydantic-v1)
3 errors
|
GitHubKit Lint (pydantic-v2):
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)
|
GitHubKit Lint (pydantic-v2):
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)
|
GitHubKit Lint (pydantic-v2):
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)
|
GitHubKit Lint (pydantic-v2)
3 errors
|
Codegen Lint:
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)
|
Codegen Lint:
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)
|
Codegen Lint:
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)
|
Codegen Lint
3 errors
|
GitHubKit Lint (pydantic-v1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
GitHubKit Lint (pydantic-v2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Codegen Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|