Skip to content

Commit de40aee

Browse files
committed
fix ruff error CI
Signed-off-by: Vincent Gimenes <vincent.gimenes@gmail.com>
1 parent baf420b commit de40aee

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/guidellm/benchmark/profiles.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,8 @@ def resolve_args(
424424
"relative_timestamps": relative_timestamps,
425425
"time_scale": time_scale,
426426
"constraints": constraints,
427-
"max_seconds_filter": max_seconds if max_seconds and max_seconds > 0
427+
"max_seconds_filter": max_seconds
428+
if max_seconds and max_seconds > 0
428429
else None,
429430
}
430431

tests/unit/benchmark/test_replay_profile.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ def test_resolve_args_requires_data(self):
5757
[
5858
'{"timestamp": 0, "input_length": 8192, "output_length": 1024}',
5959
'{"timestamp": 0.5, "input_length": 32768, "output_length": 4096}',
60-
'{"timestamp": 1.0, "input_length": 131072,'
61-
'"output_length": 16384}',
60+
'{"timestamp": 1.0, "input_length": 131072,"output_length": 16384}',
6261
],
6362
[1.0],
6463
[0.0, 0.5, 1.0],

0 commit comments

Comments
 (0)