Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Sep 27, 2022
1 parent 0dde25e commit 95e77d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/receipts.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
from synapse.replication.slave.storage._slaved_id_tracker import SlavedIdTracker
from synapse.replication.tcp.streams import ReceiptsStream
from synapse.storage._base import SQLBaseStore, db_to_json, make_in_list_sql_clause
from synapse.storage.databases.main.stream import StreamWorkerStore
from synapse.storage.database import (
DatabasePool,
LoggingDatabaseConnection,
LoggingTransaction,
)
from synapse.storage.databases.main.stream import StreamWorkerStore
from synapse.storage.engines import PostgresEngine
from synapse.storage.engines._base import IsolationLevel
from synapse.storage.util.id_generators import (
Expand Down
7 changes: 6 additions & 1 deletion tests/storage/test_receipts.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,12 @@ def test_get_last_receipt_no_event_for_user(self) -> None:
# event_stream_ordering column.
self.get_success(
self.store.insert_receipt(
self.room_id1, ReceiptTypes.READ, OUR_USER_ID, [event.event_id], None, {}
self.room_id1,
ReceiptTypes.READ,
OUR_USER_ID,
[event.event_id],
None,
{},
)
)

Expand Down

0 comments on commit 95e77d7

Please sign in to comment.