summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2022-03-03 17:05:44 +0100
committerGitHub <noreply@github.com>2022-03-03 16:05:44 +0000
commit7e91107be1a4287873266e588a3c5b415279f4c8 (patch)
tree521a8c01dd435aaa23e6ea17a39b496b0cf3957a /mypy.ini
parentUse the proper serialization format when bundling aggregations. (#12090) (diff)
downloadsynapse-7e91107be1a4287873266e588a3c5b415279f4c8.tar.xz
Add type hints to `tests/rest` (#12146)
* Add type hints to `tests/rest`

* newsfile

* change import from `SigningKey`
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini7
1 files changed, 1 insertions, 6 deletions
diff --git a/mypy.ini b/mypy.ini
index 10971b7225..481e8a5366 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -89,8 +89,6 @@ exclude = (?x)
    |tests/push/test_presentable_names.py
    |tests/push/test_push_rule_evaluator.py
    |tests/rest/client/test_transactions.py
-   |tests/rest/key/v2/test_remote_key_resource.py
-   |tests/rest/media/v1/test_base.py
    |tests/rest/media/v1/test_media_storage.py
    |tests/rest/media/v1/test_url_preview.py
    |tests/scripts/test_new_matrix_user.py
@@ -254,10 +252,7 @@ disallow_untyped_defs = True
 [mypy-tests.storage.test_user_directory]
 disallow_untyped_defs = True
 
-[mypy-tests.rest.admin.*]
-disallow_untyped_defs = True
-
-[mypy-tests.rest.client.*]
+[mypy-tests.rest.*]
 disallow_untyped_defs = True
 
 [mypy-tests.federation.transport.test_client]