Skip to content

Make the BoFire Data Models OpenAI compatible #1513

Make the BoFire Data Models OpenAI compatible

Make the BoFire Data Models OpenAI compatible #1513

Triggered via pull request January 9, 2025 11:13
Status Failure
Total duration 1m 15s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: bofire/benchmarks/detergent.py#L60
Argument of type "tuple[float, float]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[float, float]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/detergent.py#L61
Argument of type "tuple[float, float]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[float, float]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/detergent.py#L62
Argument of type "tuple[float, float]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[float, float]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/detergent.py#L63
Argument of type "tuple[float, float]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[float, float]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/detergent.py#L64
Argument of type "tuple[float, float]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[float, float]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/multi.py#L57
Argument of type "tuple[Literal[0], Literal[1]]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[Literal[0], Literal[1]]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/multi.py#L143
Argument of type "tuple[Literal[0], Literal[5]]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[Literal[0], Literal[5]]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/multi.py#L144
Argument of type "tuple[Literal[0], Literal[3]]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[Literal[0], Literal[3]]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/multi.py#L190
Argument of type "tuple[Literal[0], float]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[Literal[0], float]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint: bofire/benchmarks/multi.py#L191
Argument of type "tuple[Literal[0], float]" cannot be assigned to parameter "bounds" of type "Bounds" in function "__init__"   "tuple[Literal[0], float]" is incompatible with "Bounds" (reportGeneralTypeIssues)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636