Skip to content

Commit b51e195

Browse files
AugustoMagalhaesandreas-el
authored andcommitted
Fix type checking
1 parent 70bd51a commit b51e195

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ert/gui/simulation/combobox_with_description.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def addDescriptionItem(
130130
model.setData(index, description, DESCRIPTION_ROLE)
131131
model.setData(index, group, GROUP_TITLE_ROLE)
132132

133-
def sizeHint(self):
133+
def sizeHint(self) -> QSize:
134134
original_size_hint = super().sizeHint()
135135
new_width = int(original_size_hint.width() + 220)
136136
new_height = int(super().sizeHint().height() * 1.5)

src/ert/run_models/multiple_data_assimilation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,5 @@ def description(cls) -> str:
193193
return "[Sample|restart] → [evaluate → update] for each weight"
194194

195195
@classmethod
196-
def group(cls) -> None:
196+
def group(cls) -> Optional[str]:
197197
return MULTIPLE_DATA_ASSIMILATION_GROUP

src/ert/run_models/single_test_run.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ def description(cls) -> str:
5454
return "Sample parameters → evaluate single realization"
5555

5656
@classmethod
57-
def group(cls) -> None:
57+
def group(cls) -> Optional[str]:
5858
return SINGLE_TEST_RUN_GROUP

0 commit comments

Comments
 (0)