Skip to content

Commit 809648e

Browse files
committed
chore(format): Reformat quota.py to satisfy pinned ruff 0.14.5
Local ruff 0.15.12 left dt.datetime split across lines; the pre-commit hook pins 0.14.5 which collapses it back to a single chained call. Aligning the local install on the pinned version to match CI.
1 parent 7bd2380 commit 809648e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎albert_code/core/llm/quota.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ def midnight_utc_timestamp() -> int:
7373
import datetime as dt
7474

7575
return int(
76-
dt.datetime
77-
.now(dt.UTC)
76+
dt.datetime.now(dt.UTC)
7877
.replace(hour=0, minute=0, second=0, microsecond=0)
7978
.timestamp()
8079
)

0 commit comments

Comments
 (0)