diff options
author | David Robertson <davidr@element.io> | 2021-11-12 19:56:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 19:56:00 +0000 |
commit | bea815cec82096efc15e75875d3b8372fcb4f28b (patch) | |
tree | bb857004acb0fb10a0665bf70f19e71aa45e894b /mypy.ini | |
parent | Change display names/avatar URLs to None if they contain null bytes before st... (diff) | |
download | synapse-bea815cec82096efc15e75875d3b8372fcb4f28b.tar.xz |
Test room alias deletion (#11327)
* Prefer `HTTPStatus` over plain `int` This is an Opinion that no-one has seemed to object to yet. * `--disallow-untyped-defs` for `tests.rest.client.test_directory` * Improve synapse's annotations for deleting aliases * Test case for deleting a room alias * Changelog
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mypy.ini b/mypy.ini index 56a62bb9b7..67dde5991b 100644 --- a/mypy.ini +++ b/mypy.ini @@ -271,6 +271,9 @@ disallow_untyped_defs = True [mypy-tests] disallow_untyped_defs = True +[mypy-tests.rest.client.test_directory] +disallow_untyped_defs = True + ;; Dependencies without annotations ;; Before ignoring a module, check to see if type stubs are available. ;; The `typeshed` project maintains stubs here: |