From 3cde5a4e1cd2ea5b34f1af3e7e133be9c10b3649 Mon Sep 17 00:00:00 2001 From: Peter Verveer Date: Thu, 19 Dec 2024 17:20:44 +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 c705a0ba60c..f2ee85b05c7 100644 --- a/src/ert/run_models/everest_run_model.py +++ b/src/ert/run_models/everest_run_model.py @@ -671,7 +671,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: