Skip to content

Make python lsf driver handle crashes and add lsf queue option #21762

Make python lsf driver handle crashes and add lsf queue option

Make python lsf driver handle crashes and add lsf queue option #21762

Triggered via pull request November 27, 2023 05:22
Status Failure
Total duration 2m 54s
Artifacts

typing.yml

on: pull_request
Matrix: type-checking
Fit to window
Zoom out
Zoom in

Annotations

10 errors
type-checking (3.11): src/ert/job_queue/realization_state.py#L143
Item "None" of "_Element | None" has no attribute "text"
type-checking (3.11): src/ert/job_queue/realization_state.py#L144
Item "None" of "_Element | None" has no attribute "text"
type-checking (3.11): src/ert/job_queue/realization_state.py#L145
Item "None" of "_Element | None" has no attribute "text"
type-checking (3.11): src/ert/job_queue/realization_state.py#L149
Incompatible types in assignment (expression has type "str | None", variable has type "str")
type-checking (3.11): src/ert/job_queue/driver.py#L147
Need type annotation for "_statuses" (hint: "_statuses: Dict[<type>, <type>] = ...")
type-checking (3.11): src/ert/job_queue/driver.py#L154
Function is missing a return type annotation
type-checking (3.11): src/ert/job_queue/driver.py#L155
Missing type parameters for generic type "Awaitable"
type-checking (3.11): src/ert/job_queue/driver.py#L161
Too few arguments
type-checking (3.11): src/ert/job_queue/driver.py#L178
Cannot infer type of lambda
type-checking (3.11): src/ert/job_queue/driver.py#L178
Argument 1 to "run_with_retries" of "LSFDriver" has incompatible type "Callable[[], Coroutine[Any, Any, bool]]"; expected "Callable[[None], Awaitable[Any]]"