Skip to content

Commit 792bc00

Browse files
committed
fix: formatting
1 parent 35865fd commit 792bc00

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

snakemake_executor_plugin_slurm/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ def delete_empty_dirs(path: Path) -> None:
336336
# Provide more context in the error message
337337
raise OSError(f"Failed to remove empty directory {path}: {e}") from e
338338

339+
339340
# only run this parser once per unique input string
340341
# chache the results for efficiency.
341342
@lru_cache(maxsize=None)
@@ -393,9 +394,7 @@ def parse_slurm_signal_settings(signal_settings: Optional[str]) -> dict[str, str
393394
}
394395

395396
# Pattern: rule:SIGNAL@TIME
396-
pattern = re.compile(
397-
r"^(?P<rule>\w+):(?P<signal>\w+)@(?P<seconds>\d+)$"
398-
)
397+
pattern = re.compile(r"^(?P<rule>\w+):(?P<signal>\w+)@(?P<seconds>\d+)$")
399398

400399
for raw_entry in signal_settings.split(","):
401400
entry = raw_entry.strip()

0 commit comments

Comments
 (0)