Skip to content

Commit 7d6c87f

Browse files
committed
Modernized typehints in core/lifecycle.py
1 parent 1803570 commit 7d6c87f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/llmcompressor/core/lifecycle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ def event(
206206
if data is not None:
207207
mod_data.append(data)
208208

209-
assert (
210-
event is not None
211-
), f"Event lifecycle did not return an event for {event_type}"
209+
assert event is not None, (
210+
f"Event lifecycle did not return an event for {event_type}"
211+
)
212212

213213
return mod_data
214214

0 commit comments

Comments
 (0)