style: apply ruff formatting to source and test files
This commit is contained in:
@@ -38,9 +38,7 @@ class ListPostsUseCase:
|
||||
offset: int | None = None,
|
||||
) -> list[PostResponseDTO]:
|
||||
"""Get posts by author."""
|
||||
posts = await self._post_repo.get_by_author(
|
||||
author_id, limit=limit, offset=offset
|
||||
)
|
||||
posts = await self._post_repo.get_by_author(author_id, limit=limit, offset=offset)
|
||||
return [self._map_to_dto(post) for post in posts]
|
||||
|
||||
async def by_tag(
|
||||
|
||||
Reference in New Issue
Block a user