chore(quality): apply ruff autofixes and formatting (29 fixes, 41 files reformatted)

This commit is contained in:
Agent Zero
2026-06-10 21:31:41 +00:00
parent 054d4041e6
commit 7c12a96cdc
43 changed files with 1096 additions and 524 deletions
+1 -3
View File
@@ -42,9 +42,7 @@ async def get_current_user(
# Load user with role (and its permissions) eagerly
result = await session.execute(
select(User)
.options(joinedload(User.role))
.where(User.id == user_id)
select(User).options(joinedload(User.role)).where(User.id == user_id)
)
user = result.unique().scalars().first()