Refactor lmo.inference
as a submodule
#224
Annotations
10 errors
lint:
lmo/_lm.py#L133
Type of "weights" is partially unknown
Type of "weights" is "(i: float | Unknown, n: float | Unknown, N: _T_size@weights, /, *, cached: bool = False) -> ndarray[tuple[_T_size@weights], dtype[floating[_64Bit]]]" (reportUnknownMemberType)
|
lint:
lmo/_lm.py#L1002
Type of "cov" is partially unknown
Type of "cov" is "Overload[(a: Unknown, r: _R@cov, /, axis: None = ..., dtype: dtype[_F@cov] | type[_F@cov] = np.float64, **kwds: Any) -> ndarray[tuple[_R@cov, _R@cov], dtype[_F@cov]], (a: Unknown, r: _R@cov, /, axis: int, dtype: dtype[_F@cov] | type[_F@cov] = np.float64, **kwds: Any) -> ndarray[tuple[_R@cov, _R@cov, *tuple[int, ...]], dtype[_F@cov]]]" (reportUnknownMemberType)
|
lint:
lmo/_poly.py#L21
"np" is not exported from module ".typing" (reportPrivateLocalImportUsage)
|
lint:
lmo/_poly.py#L51
Type of parameter "a" is partially unknown
Parameter type is "float | Unknown" (reportUnknownParameterType)
|
lint:
lmo/_poly.py#L51
Type of "Float" is unknown (reportUnknownMemberType)
|
lint:
lmo/_poly.py#L51
"Float" is not a known attribute of module "numpy" (reportAttributeAccessIssue)
|
lint:
lmo/_poly.py#L52
Type of parameter "b" is partially unknown
Parameter type is "float | Unknown" (reportUnknownParameterType)
|
lint:
lmo/_poly.py#L52
Type of "Float" is unknown (reportUnknownMemberType)
|
lint:
lmo/_poly.py#L52
"Float" is not a known attribute of module "numpy" (reportAttributeAccessIssue)
|
lint:
lmo/_poly.py#L53
Type of parameter "x" is partially unknown
Parameter type is "float | Unknown" (reportUnknownParameterType)
|