summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-09-24 10:38:22 +0100
committerGitHub <noreply@github.com>2021-09-24 10:38:22 +0100
commit7f3352743e02e0d02ec00eb3a50fd0ceb422286c (patch)
tree89c43e76587512528da6b175461b0d24903379bb /changelog.d
parentIn `_purge_history_txn`, ensure that txn.fetchall has elements before accessi... (diff)
downloadsynapse-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')
-rw-r--r--changelog.d/10891.misc1
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