Skip to content

Typing src/ert/job_queue #21632

Typing src/ert/job_queue

Typing src/ert/job_queue #21632

Triggered via pull request November 21, 2023 13:51
Status Failure
Total duration 2m 58s
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/simulator/simulation_context.py#L57
"JobQueue" has no attribute "add_job_from_run_arg"
type-checking (3.11): src/ert/simulator/simulation_context.py#L71
"JobQueue" has no attribute "stop_long_running_jobs"; maybe "stop_long_running_realizations"?
type-checking (3.11): src/ert/simulator/simulation_context.py#L76
Argument "evaluators" to "execute" of "JobQueue" has incompatible type "list[partial[Any]] | None"; expected "list[Callable[..., Any]] | None"
type-checking (3.11): src/ert/simulator/simulation_context.py#L160
"type[RealizationState]" has no attribute "SUCCESS"
type-checking (3.11): src/ert/simulator/simulation_context.py#L175
"type[RealizationState]" has no attribute "SUCCESS"
type-checking (3.11): src/ert/simulator/simulation_context.py#L175
"type[RealizationState]" has no attribute "WAITING"
type-checking (3.11): src/ert/simulator/simulation_context.py#L183
"JobQueue" has no attribute "count_status"
type-checking (3.11): src/ert/simulator/simulation_context.py#L183
"type[RealizationState]" has no attribute "RUNNING"
type-checking (3.11): src/ert/simulator/simulation_context.py#L184
"JobQueue" has no attribute "count_status"
type-checking (3.11): src/ert/simulator/simulation_context.py#L184
"type[RealizationState]" has no attribute "SUCCESS"