synapse-old/synapse/config
David Robertson 6463244375
Remove unused `# type: ignore`s (#12531)
Over time we've begun to use newer versions of mypy, typeshed, stub
packages---and of course we've improved our own annotations. This makes
some type ignore comments no longer necessary. I have removed them.

There was one exception: a module that imports `select.epoll`. The
ignore is redundant on Linux, but I've kept it ignored for those of us
who work on the source tree using not-Linux. (#11771)

I'm more interested in the config line which enforces this. I want
unused ignores to be reported, because I think it's useful feedback when
annotating to know when you've fixed a problem you had to previously
ignore.

* Installing extras before typechecking

Lacking an easy way to install all extras generically, let's bite the bullet and
make install the hand-maintained `all` extra before typechecking.

Now that https://github.com/matrix-org/backend-meta/pull/6 is merged to
the release/v1 branch.
2022-04-27 14:03:44 +01:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
__main__.py Additional type hints for config module. (#11465) 2021-12-01 07:28:23 -05:00
_base.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
_base.pyi Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
_util.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_validity.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
api.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
appservice.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
auth.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
background_updates.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
cache.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
captcha.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
cas.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
consent.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
database.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
emailconfig.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
experimental.py Implement MSC2815: allow room moderators to view redacted event content (#12427) 2022-04-20 12:57:39 +01:00
federation.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
groups.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
homeserver.py Add config settings for background update parameters (#11980) 2022-03-11 10:46:45 -08:00
jwt.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
key.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
logger.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
metrics.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
modules.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
oembed.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
oidc.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
password_auth_providers.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
push.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
ratelimiting.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
redis.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
registration.py Add option to enable token registration without requiring 3pids (#12526) 2022-04-27 12:57:53 +00:00
repository.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
retention.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
room.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
room_directory.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
saml2.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
server.py Remove unused `# type: ignore`s (#12531) 2022-04-27 14:03:44 +01:00
server_notices.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
spam_checker.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
sso.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
stats.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
third_party_event_rules.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
tls.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
tracer.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
user_directory.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
voip.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
workers.py Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00