anonymousland-synapse/synapse/rest/media/v1
David Robertson 797ee7812d
Relax ignore-missing-imports for modules that have stubs now and update mypy (#11006)
Updating mypy past version 0.9 means that third-party stubs are no-longer distributed with typeshed. See http://mypy-lang.blogspot.com/2021/06/mypy-0900-released.html for details.
We therefore pull in stub packages in setup.py

Additionally, some modules that we were previously ignoring import failures for now have stubs. So let's use them.

The rest of this change consists of fixups to make the newer mypy + stubs pass CI.

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2021-10-08 14:49:41 +01:00
..
__init__.py Relax ignore-missing-imports for modules that have stubs now and update mypy (#11006) 2021-10-08 14:49:41 +01:00
_base.py Add reactor to SynapseRequest and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
config_resource.py Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
download_resource.py Add reactor to SynapseRequest and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
filepath.py Avoid storing URL cache files in storage providers (#10911) 2021-09-27 12:55:27 +01:00
media_repository.py Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
media_storage.py Fix race conditions when creating media store and config directories (#10913) 2021-09-27 11:29:23 +01:00
oembed.py Include more information in oEmbed previews. (#10819) 2021-09-22 09:45:20 -04:00
preview_url_resource.py Fix empty url_cache_thumbnails/yyyy-mm-dd/ directories being left behind (#10924) 2021-09-29 10:24:37 +01:00
storage_provider.py Avoid storing URL cache files in storage providers (#10911) 2021-09-27 12:55:27 +01:00
thumbnail_resource.py Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
thumbnailer.py Relax ignore-missing-imports for modules that have stubs now and update mypy (#11006) 2021-10-08 14:49:41 +01:00
upload_resource.py Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00