Skip to content

ci: add pyright

ci: add pyright #856

Triggered via pull request February 18, 2025 15:04
@trim21trim21
synchronize #162
pyright
Status Failure
Total duration 25s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
pyright: scripts/fetch-static-files.py#L9
Import "httpx" could not be resolved (reportMissingImports)
pyright: scripts/fetch-static-files.py#L10
Import "sslog" could not be resolved (reportMissingImports)
pyright: scripts/fetch-static-files.py#L37
Argument type is unknown   Argument corresponds to parameter "other" in function "joinpath" (reportUnknownArgumentType)
pyright: scripts/fetch-static-files.py#L52
Argument type is unknown   Argument corresponds to parameter "data" in function "decompress" (reportUnknownArgumentType)
pyright: scripts/fetch-static-files.py#L62
Argument type is unknown   Argument corresponds to parameter "other" in function "joinpath" (reportUnknownArgumentType)
pyright: server/app.py#L12
Import "litestar" could not be resolved (reportMissingImports)
pyright: server/app.py#L13
Import "sslog" could not be resolved (reportMissingImports)
pyright: server/app.py#L14
Import "litestar" could not be resolved (reportMissingImports)
pyright: server/app.py#L15
Import "litestar.config.csrf" could not be resolved (reportMissingImports)
pyright: server/app.py#L16
Import "litestar.contrib.jinja" could not be resolved (reportMissingImports)
pyright: scripts/build-common.py#L6
Import "yaml" could not be resolved from source (reportMissingModuleSource)
pyright: server/model.py#L7
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
pyright: server/router.py#L5
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)