Skip to content

Multiplicative additive sobo objectives #1485

Multiplicative additive sobo objectives

Multiplicative additive sobo objectives #1485

Triggered via pull request January 6, 2025 06:07
Status Failure
Total duration 1m 20s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
lint: bofire/utils/torch_tools.py#L537
Argument of type "tuple[Objective, ...]" cannot be assigned to parameter "__class_or_tuple" of type "_ClassInfo" in function "isinstance"   Type "tuple[Objective, ...]" cannot be assigned to type "_ClassInfo"     "tuple[Objective, ...]" is incompatible with "type"     "tuple[Objective, ...]" is incompatible with "tuple[_ClassInfo, ...]"       Tuple entry 1 is incorrect type         Type "Objective" cannot be assigned to type "_ClassInfo"           "Objective" is incompatible with "type"           "Objective" is incompatible with "tuple[_ClassInfo, ...]" (reportGeneralTypeIssues)
lint: bofire/utils/torch_tools.py#L705
Expression of type "float | Unknown" cannot be assigned to declared type "Tensor"   Type "float | Unknown" cannot be assigned to type "Tensor"     "float" is incompatible with "Tensor" (reportGeneralTypeIssues)
lint
2 errors
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636