Adding Desirability functions as objectives #1532
Annotations
10 errors and 1 warning
lint:
bofire/benchmarks/multi.py#L660
"__getitem__" method not defined on type "float" (reportGeneralTypeIssues)
|
lint:
bofire/benchmarks/multi.py#L659
Argument of type "float" cannot be assigned to parameter "__obj" of type "Sized" in function "len"
"float" is incompatible with protocol "Sized"
"__len__" is not present (reportGeneralTypeIssues)
|
lint:
bofire/data_models/objectives/desirabilities.py#L26
"name" is possibly unbound (reportUnboundVariable)
|
lint:
bofire/strategies/fractional_factorial.py#L49
Operator "-" not supported for types "NDArray" and "NDArray" (reportGeneralTypeIssues)
|
lint:
bofire/strategies/doe/transform.py#L39
Operator "-" not supported for types "NDArray" and "NDArray" (reportGeneralTypeIssues)
|
lint:
bofire/strategies/doe/transform.py#L45
Operator "-" not supported for types "ndarray" and "NDArray" (reportGeneralTypeIssues)
|
lint:
bofire/strategies/doe/transform.py#L51
Expression of type "float" cannot be assigned to return type "ndarray"
"float" is incompatible with "ndarray" (reportGeneralTypeIssues)
|
lint:
bofire/surrogates/diagnostics.py#L258
Operator "-" not supported for types "ndarray" and "ndarray" (reportGeneralTypeIssues)
|
lint:
bofire/surrogates/diagnostics.py#L290
Operator "-" not supported for types "ndarray" and "ndarray" (reportGeneralTypeIssues)
|
lint:
bofire/surrogates/diagnostics.py#L322
Operator "-" not supported for types "ndarray" and "ndarray" (reportGeneralTypeIssues)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|