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

Commit

Permalink
Add final type hint to tests.unittest.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Feb 14, 2023
1 parent 69324c3 commit 66db8a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ disallow_untyped_defs = False
[mypy-synapse.storage.database]
disallow_untyped_defs = False

[mypy-tests.unittest]
disallow_untyped_defs = False

[mypy-tests.util.caches.test_descriptors]
disallow_untyped_defs = False

Expand Down
4 changes: 3 additions & 1 deletion tests/unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ def wait_for_background_updates(self) -> None:
store.db_pool.updates.do_next_background_update(False), by=0.1
)

def make_homeserver(self, reactor: ThreadedMemoryReactorClock, clock: Clock):
def make_homeserver(
self, reactor: ThreadedMemoryReactorClock, clock: Clock
) -> HomeServer:
"""
Make and return a homeserver.
Expand Down

0 comments on commit 66db8a6

Please sign in to comment.