Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mikonse committed Aug 26, 2023
1 parent 3636443 commit ae962f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion abrechnung/application/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,6 @@ async def sync_transaction(
async def sync_transactions(
self, *, user: User, group_id: int, transactions: list[RawTransaction]
) -> dict[int, int]:

all_transactions_in_same_group = all(
[a.group_id == group_id for a in transactions]
)
Expand Down
5 changes: 4 additions & 1 deletion tests/test_transaction_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ async def test_file_upload(self):
self.assertEqual(file_id, transaction.committed_files[0].id)
self.assertIsNotNone(transaction.committed_files[0].blob_id)

(mime_type, _,) = await self.transaction_service.read_file_contents(
(
mime_type,
_,
) = await self.transaction_service.read_file_contents(
user=self.user,
file_id=file_id,
blob_id=transaction.committed_files[0].blob_id,
Expand Down

0 comments on commit ae962f1

Please sign in to comment.