MatrixSynapse/synapse/util/caches
Erik Johnston b5efcb577e
Make it possible to use dmypy (#9692)
Running `dmypy run` will do a `mypy` check while spinning up a daemon
that makes rerunning `dmypy run` a lot faster.

`dmypy` doesn't support `follow_imports = silent` and has
`local_partial_types` enabled, so this PR enables those options and
fixes the issues that were newly raised. Note that `local_partial_types`
will be enabled by default in upcoming mypy releases.
2021-03-26 16:49:46 +00:00
..
__init__.py Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
cached_call.py Clean up caching/locking of OIDC metadata load (#9362) 2021-02-16 16:27:38 +00:00
deferred_cache.py Empty iterables should count towards cache usage. (#9028) 2021-01-06 12:33:20 -05:00
descriptors.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
dictionary_cache.py type annotations for LruCache 2020-10-16 15:56:39 +01:00
expiringcache.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
lrucache.py Fix 'LruCache' object has no attribute '_on_resize' (#8591) 2020-10-19 21:13:50 +01:00
response_cache.py Add ResponseCache tests. (#9458) 2021-03-08 14:00:07 -05:00
stream_change_cache.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
treecache.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
ttlcache.py Enable mypy for synapse.util.caches (#8547) 2020-10-15 11:44:39 +01:00