Bump the actions group with 6 updates #313
Annotations
5 errors
basedpyright:
lmo/inference/_l_gmm.py#L443
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
basedpyright:
lmo/theoretical/_f_to_lcm.py#L247
Argument of type "NQuadOptions | None" cannot be assigned to parameter "opts" of type "QuadOpts | ((...) -> QuadOpts) | Iterable[QuadOpts | ((...) -> QuadOpts)] | None" in function "nquad"
Type "NQuadOptions | None" is not assignable to type "QuadOpts | ((...) -> QuadOpts) | Iterable[QuadOpts | ((...) -> QuadOpts)] | None"
Type "NQuadOptions" is not assignable to type "QuadOpts | ((...) -> QuadOpts) | Iterable[QuadOpts | ((...) -> QuadOpts)] | None"
"epsabs" is an incompatible type
Type "float" is not assignable to type "_FloatLike"
"float" is not assignable to "floating[Any]"
"epsrel" is an incompatible type
Type "float" is not assignable to type "_FloatLike"
"float" is not assignable to "floating[Any]"
... (reportArgumentType)
|
basedpyright:
lmo/theoretical/_utils.py#L119
Argument of type "NQuadOptions | None" cannot be assigned to parameter "opts" of type "QuadOpts | ((...) -> QuadOpts) | Iterable[QuadOpts | ((...) -> QuadOpts)] | None" in function "nquad"
Type "NQuadOptions | None" is not assignable to type "QuadOpts | ((...) -> QuadOpts) | Iterable[QuadOpts | ((...) -> QuadOpts)] | None"
Type "NQuadOptions" is not assignable to type "QuadOpts | ((...) -> QuadOpts) | Iterable[QuadOpts | ((...) -> QuadOpts)] | None"
"epsabs" is an incompatible type
Type "float" is not assignable to type "_FloatLike"
"float" is not assignable to "floating[Any]"
"epsrel" is an incompatible type
Type "float" is not assignable to type "_FloatLike"
"float" is not assignable to "floating[Any]"
... (reportArgumentType)
|
basedpyright
3 errors
|
basedpyright
Process completed with exit code 1.
|
Loading