Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindeide committed Jan 10, 2025
1 parent b607927 commit 6e9c8d0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/everest/config/everest_config.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logging
import os
from argparse import ArgumentParser
from functools import cached_property
from copy import copy
from functools import cached_property
from io import StringIO
from itertools import chain
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions tests/ert/unit_tests/config/test_queue_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from ert.config.queue_config import (
LocalQueueOptions,
LsfQueueOptions,
QueueOptions,
SlurmQueueOptions,
TorqueQueueOptions,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/everest/test_config_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_that_max_runtime_errors_only_on_negative():

def test_that_invalid_queue_system_errors():
with pytest.raises(
ValueError, match="does not match .*'local',.*'lsf',.*'slurm', .*'torque'"
ValueError, match=r"does not match .*'local',.*'lsf',.*'slurm', .*'torque'"
):
EverestConfig.with_defaults(simulator={"queue_system": {"name": "docal"}})

Expand Down
1 change: 0 additions & 1 deletion tests/everest/test_detached.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
LsfQueueOptions,
SlurmQueueOptions,
TorqueQueueOptions,
activate_script,
)
from ert.scheduler.event import FinishedEvent
from everest.config import EverestConfig, InstallJobConfig
Expand Down

0 comments on commit 6e9c8d0

Please sign in to comment.