Skip to content

⬆️ Update dependency typing-extensions to >=4.12.2 #225

⬆️ Update dependency typing-extensions to >=4.12.2

⬆️ Update dependency typing-extensions to >=4.12.2 #225

Triggered via pull request December 10, 2023 04:16
Status Failure
Total duration 57s
Artifacts

pyright.yml

on: pull_request
Pyright Lint
48s
Pyright Lint
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Pyright Lint: kirami/service/limiter.py#L81
"TypedDict" cannot be used in this context
Pyright Lint: kirami/utils/resource.py#L49
Return type of generator function must be compatible with "Generator[BaseResource, Any, Any]"   "Generator[BaseResource, Unknown, Unknown]" is incompatible with "Generator[Self@BaseResource, None, None]"     Type parameter "_YieldT_co@Generator" is covariant, but "BaseResource" is not a subtype of "Self@BaseResource"       Type "BaseResource" cannot be assigned to type "Self@BaseResource" (reportGeneralTypeIssues)
Pyright Lint: kirami/utils/resource.py#L106
Expression of type "BaseResource" cannot be assigned to return type "Self@BaseResource"   Type "BaseResource" cannot be assigned to type "Self@BaseResource" (reportGeneralTypeIssues)
Pyright Lint: kirami/utils/resource.py#L117
Expression of type "list[BaseResource]" cannot be assigned to return type "list[Self@BaseResource]"   "list[BaseResource]" is incompatible with "list[Self@BaseResource]"     Type parameter "_T@list" is invariant, but "BaseResource" is not the same as "Self@BaseResource"     Consider switching from "list" to "Sequence" which is covariant (reportGeneralTypeIssues)
Pyright Lint
4 errors