synapse-product/synapse/push
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
action_generator.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
baserules.py Add type hints to the push module. (#8901) 2020-12-11 11:43:53 -05:00
bulk_push_rule_evaluator.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
clientformat.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
emailpusher.py Encode JSON responses on a thread in C, mk2 (#10905) 2021-09-28 09:37:58 +00:00
httppusher.py Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
mailer.py Relax ignore-missing-imports for modules that have stubs now and update mypy (#11006) 2021-10-08 14:49:41 +01:00
presentable_names.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
push_rule_evaluator.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
push_tools.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
pusher.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
pusherpool.py Use direct references for some configuration variables (part 2) (#10812) 2021-09-15 08:34:52 -04:00
rulekinds.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00