I optimality criterion and nonlinear constraints defined by python function #1574
Annotations
10 errors
lint:
bofire/benchmarks/single.py#L537
Argument of type "float" cannot be assigned to parameter "values" of type "DiscreteVals" in function "__init__"
"float" is incompatible with "DiscreteVals" (reportGeneralTypeIssues)
|
lint:
bofire/benchmarks/single.py#L538
Argument of type "float" cannot be assigned to parameter "values" of type "DiscreteVals" in function "__init__"
"float" is incompatible with "DiscreteVals" (reportGeneralTypeIssues)
|
lint:
bofire/benchmarks/single.py#L554
Argument of type "float" cannot be assigned to parameter "values" of type "DiscreteVals" in function "__init__"
"float" is incompatible with "DiscreteVals" (reportGeneralTypeIssues)
|
lint:
bofire/benchmarks/single.py#L555
Argument of type "float" cannot be assigned to parameter "values" of type "DiscreteVals" in function "__init__"
"float" is incompatible with "DiscreteVals" (reportGeneralTypeIssues)
|
lint:
bofire/data_models/objectives/desirabilities.py#L43
Cannot access member "name" for type "ndarray[Unknown, Unknown]"
Member "name" is unknown (reportGeneralTypeIssues)
|
lint:
bofire/data_models/objectives/desirabilities.py#L44
Cannot access member "values" for type "ndarray[Unknown, Unknown]"
Member "values" is unknown (reportGeneralTypeIssues)
|
lint:
bofire/data_models/objectives/desirabilities.py#L49
"name" is possibly unbound (reportUnboundVariable)
|
lint:
bofire/data_models/strategies/doe.py#L135
Illegal type annotation: variable not allowed unless it is a type alias (reportGeneralTypeIssues)
|
lint:
bofire/data_models/strategies/doe.py#L57
Class declaration "DOptimalityCriterion" is obscured by a declaration of the same name (reportGeneralTypeIssues)
|
lint:
bofire/data_models/strategies/doe.py#L61
Class declaration "EOptimalityCriterion" is obscured by a declaration of the same name (reportGeneralTypeIssues)
|