Skip to content

PDFCLOUD-5416 Use basedpyright #1

PDFCLOUD-5416 Use basedpyright

PDFCLOUD-5416 Use basedpyright #1

Triggered via pull request November 25, 2025 20:53
Status Failure
Total duration 22s
Artifacts

basedpyright.yml

on: pull_request
basedpyright
18s
basedpyright
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
basedpyright
Process completed with exit code 1.
basedpyright
3 errors
basedpyright: src/pdfrest/models/public.py#L163
Expected type arguments for generic class "dict" (reportMissingTypeArgument)
basedpyright: src/pdfrest/client.py#L466
Instance variable "_owns_http_client" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
basedpyright: src/pdfrest/client.py#L465
Instance variable "_client" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
basedpyright: src/pdfrest/client.py#L309
Unnecessary isinstance call; "Mapping[str, str]" is always an instance of "Mapping[Unknown, Unknown]" (reportUnnecessaryIsInstance)
basedpyright: src/pdfrest/client.py#L264
Unnecessary isinstance call; "Mapping[str, str]" is always an instance of "Mapping[Unknown, Unknown]" (reportUnnecessaryIsInstance)
basedpyright: src/pdfrest/client.py#L221
Argument type is Any   Argument corresponds to parameter "object" in function "__new__" (reportAny)
basedpyright: src/pdfrest/client.py#L214
Type `Any` is not allowed (reportExplicitAny)
basedpyright: src/pdfrest/client.py#L207
Type of "files_payload" is Any (reportAny)
basedpyright: src/pdfrest/client.py#L205
Type `Any` is not allowed (reportExplicitAny)
basedpyright: src/pdfrest/client.py#L205
Type of parameter "payload" is Any (reportAny)
basedpyright: src/pdfrest/client.py#L116
Type `Any` is not allowed (reportExplicitAny)
basedpyright: src/pdfrest/client.py#L114
Type `Any` is not allowed (reportExplicitAny)
basedpyright: src/pdfrest/client.py#L104
Type `Any` is not allowed (reportExplicitAny)