-
- Downloads
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>
Showing
- changelog.d/10891.misc 1 addition, 0 deletionschangelog.d/10891.misc
- mypy.ini 2 additions, 0 deletionsmypy.ini
- synapse/storage/databases/main/user_directory.py 89 additions, 35 deletionssynapse/storage/databases/main/user_directory.py
- tests/handlers/test_user_directory.py 3 additions, 2 deletionstests/handlers/test_user_directory.py
Loading
Please register or sign in to comment