Skip to content

Commit b502c94

Browse files
Lint fixes
1 parent b54ab14 commit b502c94

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/guidellm/scheduler/scheduler.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ async def run(
109109
Each SchedulerResult object contains information about the request,
110110
the response, and the run information.
111111
"""
112-
self._validate_scheduler_params(scheduling_strategy, max_duration, max_error_rate, max_number)
112+
self._validate_scheduler_params(scheduling_strategy,
113+
max_duration,
114+
max_error_rate,
115+
max_number)
113116

114117
with (
115118
multiprocessing.Manager() as manager,
@@ -163,8 +166,8 @@ async def run(
163166
)
164167
if iter_result is not None:
165168
if iter_result.request_info.errored \
166-
and not iter_result.request_info.canceled \
167-
and self._is_max_error_rate_reached(iter_result.run_info):
169+
and not iter_result.request_info.canceled \
170+
and self._is_max_error_rate_reached(iter_result.run_info):
168171
shutdown_event.set()
169172
max_error_rate_reached = True
170173
logger.info(f"Max error rate of "

0 commit comments

Comments
 (0)