From d483532f5ac2633824b9ebc408dec9b116635ce1 Mon Sep 17 00:00:00 2001 From: Peter Verveer Date: Fri, 20 Dec 2024 08:19:50 +0000 Subject: [PATCH] Ruff style check --- src/ert/run_models/everest_run_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ert/run_models/everest_run_model.py b/src/ert/run_models/everest_run_model.py index 21a020974ad..dd77ce060a0 100644 --- a/src/ert/run_models/everest_run_model.py +++ b/src/ert/run_models/everest_run_model.py @@ -677,7 +677,7 @@ def check_if_runpath_exists(self) -> bool: def send_snapshot_event(self, event: Event, iteration: int) -> None: super().send_snapshot_event(event, iteration) - if type(event) in (EESnapshot, EESnapshotUpdate): + if type(event) in {EESnapshot, EESnapshotUpdate}: newstatus = self._simulation_status(self.get_current_snapshot()) if self._status != newstatus: # No change in status if self._sim_callback is not None: