Skip to content

CI: add pyright checking workflow #1

CI: add pyright checking workflow

CI: add pyright checking workflow #1

Triggered via pull request January 24, 2025 03:36
Status Failure
Total duration 2m 3s
Artifacts

pyright.yml

on: pull_request
Matrix: Pyright Lint
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
Pyright Lint (pydantic-v1): codegen/__init__.py#L7
Import "jinja2" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v1): codegen/__init__.py#L52
Cannot access attribute "model_validate" for class "type[Config]"   Attribute "model_validate" is unknown (reportAttributeAccessIssue)
Pyright Lint (pydantic-v1): codegen/source.py#L8
Import "jsonpointer" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v1): codegen/parser/__init__.py#L5
Import "openapi_pydantic" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v1): codegen/parser/utils.py#L6
Import "openapi_pydantic" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v1): codegen/parser/utils.py#L7
"TypeAdapter" is unknown import symbol (reportAttributeAccessIssue)
Pyright Lint (pydantic-v1): codegen/parser/endpoints/__init__.py#L3
Import "openapi_pydantic" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v1): codegen/parser/endpoints/__init__.py#L45
"parameters" is not a known attribute of "None" (reportOptionalMemberAccess)
Pyright Lint (pydantic-v1): codegen/parser/endpoints/__init__.py#L49
"requestBody" is not a known attribute of "None" (reportOptionalMemberAccess)
Pyright Lint (pydantic-v1): codegen/parser/endpoints/__init__.py#L60
"responses" is not a known attribute of "None" (reportOptionalMemberAccess)
Pyright Lint (pydantic-v2): codegen/__init__.py#L7
Import "jinja2" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v2): codegen/source.py#L8
Import "jsonpointer" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v2): codegen/parser/__init__.py#L5
Import "openapi_pydantic" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v2): codegen/parser/utils.py#L6
Import "openapi_pydantic" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v2): codegen/parser/endpoints/__init__.py#L3
Import "openapi_pydantic" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v2): codegen/parser/endpoints/__init__.py#L45
"parameters" is not a known attribute of "None" (reportOptionalMemberAccess)
Pyright Lint (pydantic-v2): codegen/parser/endpoints/__init__.py#L49
"requestBody" is not a known attribute of "None" (reportOptionalMemberAccess)
Pyright Lint (pydantic-v2): codegen/parser/endpoints/__init__.py#L60
"responses" is not a known attribute of "None" (reportOptionalMemberAccess)
Pyright Lint (pydantic-v2): codegen/parser/endpoints/__init__.py#L78
"tags" is not a known attribute of "None" (reportOptionalMemberAccess)
Pyright Lint (pydantic-v2): codegen/parser/endpoints/__init__.py#L79
"description" is not a known attribute of "None" (reportOptionalMemberAccess)
Pyright Lint (pydantic-v1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Pyright Lint (pydantic-v1): githubkit/cache/redis.py#L12
Import "redis" could not be resolved from source (reportMissingModuleSource)
Pyright Lint (pydantic-v1): githubkit/cache/redis.py#L13
Import "redis.asyncio" could not be resolved from source (reportMissingModuleSource)
Pyright Lint (pydantic-v2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Pyright Lint (pydantic-v2): githubkit/cache/redis.py#L12
Import "redis" could not be resolved from source (reportMissingModuleSource)
Pyright Lint (pydantic-v2): githubkit/cache/redis.py#L13
Import "redis.asyncio" could not be resolved from source (reportMissingModuleSource)