diff options
author | David Robertson <davidr@element.io> | 2021-09-24 10:38:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 10:38:22 +0100 |
commit | 7f3352743e02e0d02ec00eb3a50fd0ceb422286c (patch) | |
tree | 89c43e76587512528da6b175461b0d24903379bb /changelog.d/10891.misc | |
parent | In `_purge_history_txn`, ensure that txn.fetchall has elements before accessi... (diff) | |
download | synapse-7f3352743e02e0d02ec00eb3a50fd0ceb422286c.tar.xz |
Improve typing in user_directory files (#10891)
* Improve typing in user_directory files This makes the user_directory.py in storage pass most of mypy's checks (including `no-untyped-defs`). Unfortunately that file is in the tangled web of Store class inheritance so doesn't pass mypy at the moment. The handlers directory has already been mypyed. Co-authored-by: reivilibre <olivier@librepush.net>
Diffstat (limited to 'changelog.d/10891.misc')
-rw-r--r-- | changelog.d/10891.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10891.misc b/changelog.d/10891.misc new file mode 100644 index 0000000000..6eecea4065 --- /dev/null +++ b/changelog.d/10891.misc @@ -0,0 +1 @@ +Improve type hinting in the user directory code. \ No newline at end of file |