MatrixSynapse/synapse/util
David Robertson 1026776380
mypy plugin to check `@cached` return types (#14911)
Co-authored-by: David Robertson <davidr@element.io>
Co-authored-by: Patrick Cloke <patrickc@matrix.org>
Co-authored-by: Erik Johnston <erik@matrix.org>

Assert that the return type of callables wrapped in @cached
and @cachedList are cachable (aka immutable).
2023-10-02 14:22:36 +00:00
..
caches mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
__init__.py
async_helpers.py
batching_queue.py
cancellation.py
check_dependencies.py
daemonize.py
distributor.py
file_consumer.py
frozenutils.py
gai_resolver.py
hash.py
httpresourcetree.py
iterutils.py
linked_list.py
logcontext.py
logformatter.py
macaroons.py
manhole.py
metrics.py
module_loader.py
msisdn.py
patch_inline_callbacks.py
ratelimitutils.py
retryutils.py
rlimit.py
rust.py
stringutils.py
task_scheduler.py
templates.py
threepids.py
wheel_timer.py