Skip to content

Commit 93e1491

Browse files
committed
lints
Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
1 parent 3862945 commit 93e1491

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

release/ray_release/job_manager/anyscale_job_manager.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,7 @@ def _run_job(
9898

9999
def save_last_job_status(self, status):
100100
if status and hasattr(status, "id") and status.id != self._job_id:
101-
logger.warning(
102-
f"Job ID mismatch: expected {self._job_id}, got {status.id}"
103-
)
101+
logger.warning(f"Job ID mismatch: expected {self._job_id}, got {status.id}")
104102
self._last_job_result = status
105103

106104
def job_id(self) -> Optional[str]:

release/ray_release/tests/test_anyscale_job_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import sys
22

33
import pytest
4-
54
from anyscale.job.models import JobState
65

76
from ray_release.anyscale_util import Anyscale

0 commit comments

Comments
 (0)