chore(backend): standardize multiline formatting across modules

Reformatted multiline function calls, object definitions, and queries for improved code readability and consistency. Adjusted imports and constraints where necessary.
This commit is contained in:
2026-01-03 01:35:18 +01:00
parent da5affd613
commit acd18ff694
26 changed files with 540 additions and 357 deletions

View File

@@ -320,7 +320,9 @@ async def list_sprints(
return PaginatedResponse(data=sprint_responses, pagination=pagination_meta)
except Exception as e:
logger.error(f"Error listing sprints for project {project_id}: {e!s}", exc_info=True)
logger.error(
f"Error listing sprints for project {project_id}: {e!s}", exc_info=True
)
raise
@@ -564,7 +566,9 @@ async def update_sprint(
)
# Update the sprint
updated_sprint = await sprint_crud.update(db, db_obj=sprint, obj_in=sprint_update)
updated_sprint = await sprint_crud.update(
db, db_obj=sprint, obj_in=sprint_update
)
logger.info(
f"User {current_user.id} updated sprint {sprint_id} in project {project_id}"
@@ -1123,7 +1127,9 @@ async def remove_issue_from_sprint(
request: Request,
project_id: UUID,
sprint_id: UUID,
issue_id: UUID = Query(..., description="ID of the issue to remove from the sprint"),
issue_id: UUID = Query(
..., description="ID of the issue to remove from the sprint"
),
current_user: User = Depends(get_current_user),
db: AsyncSession = Depends(get_db),
) -> Any: