summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-01-26 14:45:24 -0500
committerGitHub <noreply@github.com>2023-01-26 14:45:24 -0500
commitfc35e0673f5b46ea0f5e53ef15626b14a452ca82 (patch)
treeca5cfd9a845b00e6b5e4d44da0e72a834db92459 /mypy.ini
parentFix paginating /relations with a live token (#14866) (diff)
downloadsynapse-fc35e0673f5b46ea0f5e53ef15626b14a452ca82.tar.xz
Add missing type hints in tests (#14879)
* FIx-up type hints in tests.logging.
* Add missing type hints to test_transactions.
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/mypy.ini b/mypy.ini
index e57bc64261..978d92940b 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -40,10 +40,7 @@ exclude = (?x)
    |tests/http/federation/test_matrix_federation_agent.py
    |tests/http/federation/test_srv_resolver.py
    |tests/http/test_proxyagent.py
-   |tests/logging/__init__.py
-   |tests/logging/test_terse_json.py
    |tests/module_api/test_api.py
-   |tests/rest/client/test_transactions.py
    |tests/rest/media/v1/test_media_storage.py
    |tests/server.py
    |tests/test_state.py
@@ -92,6 +89,9 @@ disallow_untyped_defs = True
 [mypy-tests.handlers.*]
 disallow_untyped_defs = True
 
+[mypy-tests.logging.*]
+disallow_untyped_defs = True
+
 [mypy-tests.metrics.*]
 disallow_untyped_defs = True