summary refs log tree commit diff
path: root/scripts-dev/mypy_synapse_plugin.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add type hints to the push module. (#8901)Patrick Cloke2020-12-111-0/+2
|
* Fix cache call signature to accept `on_invalidate`. (#8684)Erik Johnston2020-10-291-11/+27
| | | Cached functions accept an `on_invalidate` function, which we failed to add to the type signature. It's rarely used in the files that we have typed, which is why we haven't noticed it before.
* Fix typing for `@cached` wrapped functions (#8240)Erik Johnston2020-09-031-0/+85
This requires adding a mypy plugin to fiddle with the type signatures a bit.