Skip to content

CI: add pyright checking workflow #5

CI: add pyright checking workflow

CI: add pyright checking workflow #5

Triggered via pull request January 24, 2025 06:29
@yanyongyuyanyongyu
synchronize #185
ci/pyright
Status Failure
Total duration 2m 12s
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/__init__.py#L267
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v1): codegen/source.py#L8
Import "jsonpointer" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v1): codegen/source.py#L33
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v1): codegen/source.py#L40
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v1): codegen/source.py#L50
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v1): codegen/source.py#L50
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v1): codegen/parser/__init__.py#L5
Import "openapi_pydantic" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v1): codegen/parser/data.py#L44
No overloads for "dataclass" match the provided arguments   Argument types: (Literal[True]) (reportCallIssue)
Pyright Lint (pydantic-v2): codegen/__init__.py#L7
Import "jinja2" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v2): codegen/__init__.py#L267
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v2): codegen/source.py#L8
Import "jsonpointer" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v2): codegen/source.py#L33
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v2): codegen/source.py#L40
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v2): codegen/source.py#L50
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v2): codegen/source.py#L50
Alternative syntax for unions requires Python 3.10 or newer (reportGeneralTypeIssues)
Pyright Lint (pydantic-v2): codegen/parser/__init__.py#L5
Import "openapi_pydantic" could not be resolved (reportMissingImports)
Pyright Lint (pydantic-v2): codegen/parser/data.py#L44
No overloads for "dataclass" match the provided arguments   Argument types: (Literal[True]) (reportCallIssue)
Pyright Lint (pydantic-v2): codegen/parser/data.py#L55
No overloads for "dataclass" match the provided arguments   Argument types: (Literal[True]) (reportCallIssue)
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