diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-11-16 08:47:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 08:47:36 -0500 |
commit | 7468723697e4d292315ce807b5000062a02b37be (patch) | |
tree | d35e7f391f31ceb427dfbb97f02c0e355f612247 /mypy.ini | |
parent | Properly register all callback hooks for legacy password authentication provi... (diff) | |
download | synapse-7468723697e4d292315ce807b5000062a02b37be.tar.xz |
Add most missing type hints to synapse.util (#11328)
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 87 |
1 files changed, 3 insertions, 84 deletions
diff --git a/mypy.ini b/mypy.ini index b2953974ea..f32c6c41a3 100644 --- a/mypy.ini +++ b/mypy.ini @@ -196,92 +196,11 @@ disallow_untyped_defs = True [mypy-synapse.streams.*] disallow_untyped_defs = True -[mypy-synapse.util.batching_queue] +[mypy-synapse.util.*] disallow_untyped_defs = True -[mypy-synapse.util.caches.cached_call] -disallow_untyped_defs = True - -[mypy-synapse.util.caches.dictionary_cache] -disallow_untyped_defs = True - -[mypy-synapse.util.caches.lrucache] -disallow_untyped_defs = True - -[mypy-synapse.util.caches.response_cache] -disallow_untyped_defs = True - -[mypy-synapse.util.caches.stream_change_cache] -disallow_untyped_defs = True - -[mypy-synapse.util.caches.ttl_cache] -disallow_untyped_defs = True - -[mypy-synapse.util.daemonize] -disallow_untyped_defs = True - -[mypy-synapse.util.file_consumer] -disallow_untyped_defs = True - -[mypy-synapse.util.frozenutils] -disallow_untyped_defs = True - -[mypy-synapse.util.hash] -disallow_untyped_defs = True - -[mypy-synapse.util.httpresourcetree] -disallow_untyped_defs = True - -[mypy-synapse.util.iterutils] -disallow_untyped_defs = True - -[mypy-synapse.util.linked_list] -disallow_untyped_defs = True - -[mypy-synapse.util.logcontext] -disallow_untyped_defs = True - -[mypy-synapse.util.logformatter] -disallow_untyped_defs = True - -[mypy-synapse.util.macaroons] -disallow_untyped_defs = True - -[mypy-synapse.util.manhole] -disallow_untyped_defs = True - -[mypy-synapse.util.module_loader] -disallow_untyped_defs = True - -[mypy-synapse.util.msisdn] -disallow_untyped_defs = True - -[mypy-synapse.util.patch_inline_callbacks] -disallow_untyped_defs = True - -[mypy-synapse.util.ratelimitutils] -disallow_untyped_defs = True - -[mypy-synapse.util.retryutils] -disallow_untyped_defs = True - -[mypy-synapse.util.rlimit] -disallow_untyped_defs = True - -[mypy-synapse.util.stringutils] -disallow_untyped_defs = True - -[mypy-synapse.util.templates] -disallow_untyped_defs = True - -[mypy-synapse.util.threepids] -disallow_untyped_defs = True - -[mypy-synapse.util.wheel_timer] -disallow_untyped_defs = True - -[mypy-synapse.util.versionstring] -disallow_untyped_defs = True +[mypy-synapse.util.caches.treecache] +disallow_untyped_defs = False [mypy-tests.handlers.test_user_directory] disallow_untyped_defs = True |