diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-12-28 08:29:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 08:29:35 -0500 |
commit | a4ca770655a6b067468de3d507292ec133fdc5ca (patch) | |
tree | 7b9c0df46e907a59b1ec349e31b972a39f0e26e1 /mypy.ini | |
parent | Move `email` to Server section in config file documentation (#14730) (diff) | |
download | synapse-a4ca770655a6b067468de3d507292ec133fdc5ca.tar.xz |
Add missing type hints to tests. (#14687)
Adds type hints to tests.metrics and tests.crypto.
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mypy.ini b/mypy.ini index 80fbcdfeab..013fbbdfc0 100644 --- a/mypy.ini +++ b/mypy.ini @@ -36,7 +36,6 @@ exclude = (?x) |tests/api/test_ratelimiting.py |tests/app/test_openid_listener.py |tests/appservice/test_scheduler.py - |tests/crypto/test_keyring.py |tests/events/test_presence_router.py |tests/events/test_utils.py |tests/federation/test_federation_catch_up.py @@ -90,13 +89,16 @@ disallow_untyped_defs = False [mypy-tests.config.*] disallow_untyped_defs = True +[mypy-tests.crypto.*] +disallow_untyped_defs = True + [mypy-tests.federation.transport.test_client] disallow_untyped_defs = True [mypy-tests.handlers.*] disallow_untyped_defs = True -[mypy-tests.metrics.test_background_process_metrics] +[mypy-tests.metrics.*] disallow_untyped_defs = True [mypy-tests.push.test_bulk_push_rule_evaluator] |