PDFCLOUD-5416 Use basedpyright #1
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)
|