Skip to content

Commit d32a875

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b23df92 commit d32a875

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

syncmaster/db/repositories/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class RunRepository(Repository[Run]):
2020
def __init__(self, session: AsyncSession) -> None:
2121
super().__init__(model=Run, session=session)
2222

23-
async def paginate( # noqa: PLR0913
23+
async def paginate(
2424
self,
2525
transfer_id: int,
2626
page: int,

syncmaster/db/repositories/transfer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class TransferRepository(RepositoryWithOwner[Transfer]):
2828
def __init__(self, session: AsyncSession):
2929
super().__init__(model=Transfer, session=session)
3030

31-
async def paginate( # noqa: PLR0913
31+
async def paginate(
3232
self,
3333
page: int,
3434
page_size: int,
@@ -105,7 +105,7 @@ async def read_by_id(
105105
except NoResultFound as e:
106106
raise TransferNotFoundError from e
107107

108-
async def create( # noqa: PLR0913
108+
async def create(
109109
self,
110110
group_id: int,
111111
source_connection_id: int,
@@ -148,7 +148,7 @@ async def create( # noqa: PLR0913
148148
await self._session.flush()
149149
return result.one()
150150

151-
async def update( # noqa: PLR0913
151+
async def update(
152152
self,
153153
transfer_id: int,
154154
name: str,
@@ -192,7 +192,7 @@ async def delete(
192192
except (NoResultFound, EntityNotFoundError) as e:
193193
raise TransferNotFoundError from e
194194

195-
async def copy( # noqa: PLR0913
195+
async def copy(
196196
self,
197197
transfer_id: int,
198198
new_queue_id: int,

syncmaster/db/repositories/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def update(self, user_id: int, data: dict) -> User:
5555
except IntegrityError as e:
5656
self._raise_error(e)
5757

58-
async def create( # noqa: PLR0913
58+
async def create(
5959
self,
6060
username: str,
6161
email: str | None = None,

0 commit comments

Comments
 (0)