Skip to content

Commit

Permalink
Ruff style check
Browse files Browse the repository at this point in the history
  • Loading branch information
verveerpj committed Dec 20, 2024
1 parent 4b0efd6 commit fcc8ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/run_models/everest_run_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fcc8ac8

Please sign in to comment.