Skip to content

CI: add pyright checking workflow #3

CI: add pyright checking workflow

CI: add pyright checking workflow #3

Triggered via pull request January 24, 2025 04:14
@yanyongyuyanyongyu
synchronize #185
ci/pyright
Status Failure
Total duration 1m 53s
Artifacts

pyright.yml

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

Annotations

20 errors and 2 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-v2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636