Skip to content

Commit 70a656d

Browse files
style: auto-format with isort + Black [skip ci]
1 parent ad362c1 commit 70a656d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/codeevolve/runner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ def cleanup_log_daemon(
245245
timeout: Maximum seconds to wait for shutdown.
246246
"""
247247
if log_daemon and log_daemon.is_alive():
248-
sentinel = shutdown if shutdown is not None else DashboardShutdown(reason=ShutdownReason.FINISHED)
248+
sentinel = (
249+
shutdown if shutdown is not None else DashboardShutdown(reason=ShutdownReason.FINISHED)
250+
)
249251
log_queue.put(sentinel)
250252
log_daemon.join(timeout=timeout)
251253
if log_daemon.is_alive():

tests/test_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,4 @@ def test_error_partial_fields(self):
208208
def test_all_reasons_are_distinct(self):
209209
"""Tests that each ShutdownReason value is distinct."""
210210
reasons = {ShutdownReason.FINISHED, ShutdownReason.ERROR, ShutdownReason.INTERRUPTED}
211-
assert len(reasons) == 3
211+
assert len(reasons) == 3

0 commit comments

Comments
 (0)