Improve handling of missing responses.json #33459
Annotations
10 errors and 1 warning
Run mypy ert:
src/ert/gui/ertnotifier.py#L68
Function is missing a return type annotation
|
Run mypy ert:
src/ert/gui/tools/manage_experiments/storage_model.py#L114
Argument 2 of "data" is incompatible with supertype "QAbstractItemModel"; supertype defines the argument type as "int"
|
Run mypy ert:
src/ert/gui/tools/manage_experiments/storage_model.py#L227
Return type "ItemFlag" of "flags" incompatible with return type "ItemFlags" in supertype "QAbstractItemModel"
|
Run mypy ert:
src/ert/gui/tools/manage_experiments/storage_model.py#L233
Incompatible return value type (got "int", expected "ItemFlag")
|
Run mypy ert:
src/ert/gui/tools/manage_experiments/storage_model.py#L237
Function is missing a type annotation
|
Run mypy ert:
src/ert/gui/ertwidgets/ensembleselector.py#L64
Incompatible return value type (got "LocalEnsemble | None", expected "LocalEnsemble")
|
Run mypy ert:
src/ert/gui/ertwidgets/ensembleselector.py#L84
Item "QAbstractItemModel" of "QAbstractItemModel | None" has no attribute "item"
|
Run mypy ert:
src/ert/gui/ertwidgets/ensembleselector.py#L84
Item "None" of "QAbstractItemModel | None" has no attribute "item"
|
Run mypy ert:
src/ert/gui/main_window.py#L156
Call to untyped function "refresh" in typed context
|
Run mypy ert
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading