diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-10-18 15:01:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 15:01:10 -0400 |
commit | 3ab55d43bd66b377c1ed94a40931eba98dd07b01 (patch) | |
tree | 44ebe940127f32bde6e497211f5baf7647442117 /mypy.ini | |
parent | Check auth on received events' auth_events (#11001) (diff) | |
download | synapse-3ab55d43bd66b377c1ed94a40931eba98dd07b01.tar.xz |
Add missing type hints to synapse.api. (#11109)
* Convert UserPresenceState to attrs. * Remove args/kwargs from error classes and explicitly pass msg/errorcode.
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 cb4489eb37..14d8bb8eaf 100644 --- a/mypy.ini +++ b/mypy.ini @@ -100,6 +100,9 @@ files = tests/util/test_itertools.py, tests/util/test_stream_change_cache.py +[mypy-synapse.api.*] +disallow_untyped_defs = True + [mypy-synapse.events.*] disallow_untyped_defs = True |