anonymousland-synapse/synapse/config
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 Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
__main__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
_base.pyi Add support for evicting cache entries based on last access time. (#10205) 2021-07-05 16:32:12 +01:00
_util.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_validity.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
api.py Send the m.room.create stripped event with invites (support MSC1772). (#9966) 2021-05-11 10:58:58 -04:00
appservice.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
auth.py Fix copy-paste error in the password section of the sample-config. (#10804) 2021-09-13 08:58:34 -04:00
cache.py Make sync response cache time configurable. (#10513) 2021-08-03 14:45:04 +01:00
captcha.py Clean-up the template loading code. (#9200) 2021-01-27 10:59:50 -05:00
cas.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
consent.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
database.py Allow setting transaction limit for db connections (#10440) 2021-08-02 13:24:43 +00:00
emailconfig.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
experimental.py Remove unstable MSC2858 API, including experimental.msc2858_enabled config option (#10693) 2021-09-09 17:59:59 +01:00
federation.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
groups.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
homeserver.py Allow configuration of the oEmbed URLs. (#10714) 2021-08-31 18:37:07 -04:00
jwt.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
key.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
logger.py Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
metrics.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
modules.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
oembed.py Request JSON for oEmbed requests (and ignore XML only providers). (#10759) 2021-09-08 07:17:52 -04:00
oidc.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
password_auth_providers.py Require type hints in the handlers module. (#10831) 2021-09-20 08:56:23 -04:00
push.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
ratelimiting.py Add types to synapse.util. (#10601) 2021-09-10 17:03:18 +01:00
redis.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
registration.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
repository.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
room_directory.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
room.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
saml2.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
server_notices.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
server.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
spam_checker.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
sso.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
stats.py Remove functionality associated with unused historical stats tables (#9721) 2021-07-08 16:57:13 +01:00
third_party_event_rules.py Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
tls.py Relax ignore-missing-imports for modules that have stubs now and update mypy (#11006) 2021-10-08 14:49:41 +01:00
tracer.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
user_directory.py Always add local users to the user directory (#10796) 2021-09-21 12:02:34 +00:00
voip.py Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
workers.py Split presence out of master (#9820) 2021-04-23 12:21:55 +01:00