Skip to content

Add ScalarParameters replacing GenKW in parameter config #35564

Add ScalarParameters replacing GenKW in parameter config

Add ScalarParameters replacing GenKW in parameter config #35564

Triggered via pull request March 8, 2025 18:30
Status Failure
Total duration 1m 10s
Artifacts

typing.yml

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

Annotations

10 errors
type-checking (3.12): src/ert/config/scalar_parameter.py#L211
"object" not callable
type-checking (3.12): src/ert/config/scalar_parameter.py#L446
Return type "None" of "read_from_runpath" incompatible with return type "Dataset" in supertype "ParameterConfig"
type-checking (3.12): src/ert/config/scalar_parameter.py#L506
Unpacking a string is disallowed
type-checking (3.12): src/ert/config/scalar_parameter.py#L508
Cannot determine type of "output_file"
type-checking (3.12): src/ert/config/scalar_parameter.py#L514
Cannot determine type of "template_file"
type-checking (3.12): src/ert/config/gen_kw_config.py#L287
Signature of "sample_or_load" incompatible with supertype "ParameterConfig"
type-checking (3.12): src/ert/storage/local_ensemble.py#L813
Argument 1 to "is_in" of "Expr" has incompatible type "ndarray[Any, dtype[signedinteger[Any]]] | None"; expected "Expr | Collection[Any] | Series"
type-checking (3.12): src/ert/enkf_main.py#L207
Incompatible types in assignment (expression has type "Dataset | DataFrame", variable has type "DataFrame")
type-checking (3.12): src/ert/run_models/multiple_data_assimilation.py#L113
Name "parameters_config" already defined on line 111
type-checking (3.12)
Process completed with exit code 1.