synapse-product/synapse
Erik Johnston b5efcb577e
Make it possible to use dmypy (#9692)
Running `dmypy run` will do a `mypy` check while spinning up a daemon
that makes rerunning `dmypy run` a lot faster.

`dmypy` doesn't support `follow_imports = silent` and has
`local_partial_types` enabled, so this PR enables those options and
fixes the issues that were newly raised. Note that `local_partial_types`
will be enabled by default in upcoming mypy releases.
2021-03-26 16:49:46 +00:00
..
_scripts Strip trailing / from server_url in register_new_matrix_user (#8823) 2020-11-26 10:57:26 +00:00
api Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
app Fix lint 2021-03-19 16:11:08 +01:00
appservice Add ResponseCache tests. (#9458) 2021-03-08 14:00:07 -05:00
config Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
crypto Enable addtional flake8-bugbear linting checks. (#9659) 2021-03-24 09:34:30 -04:00
events Add type hints to misc. files. (#9676) 2021-03-24 06:49:01 -04:00
federation Fixed undefined variable error in catchup (#9664) 2021-03-24 16:12:47 +00:00
groups Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
handlers Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
http Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
logging Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
metrics Fix additional type hints from Twisted upgrade. (#9518) 2021-03-03 15:47:38 -05:00
module_api Record the SSO Auth Provider in the login token (#9510) 2021-03-04 14:44:22 +00:00
push Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
replication Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
res/templates Support not providing an IdP icon when choosing a username. (#9440) 2021-02-19 07:48:46 -05:00
rest Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
server_notices Add a type hints for service notices to the HomeServer object. (#9675) 2021-03-24 06:48:46 -04:00
spam_checker_api Combine SpamCheckerApi with the more generic ModuleApi. (#8464) 2020-10-07 12:03:26 +01:00
state Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Add a storage method for returning all current presence from all users (#9650) 2021-03-25 10:34:23 +00:00
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
__init__.py 1.30.1 2021-03-26 12:03:29 +00:00
event_auth.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
notifier.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
python_dependencies.py Explicitly upgrade openssl in docker file and enforce new version of cryptography (#9697) 2021-03-26 12:00:25 +00:00
secrets.py Add type hints to misc. files. (#9676) 2021-03-24 06:49:01 -04:00
server.py Add a type hints for service notices to the HomeServer object. (#9675) 2021-03-24 06:48:46 -04:00
types.py Convert Requester to attrs (#9586) 2021-03-10 18:15:56 +00:00
visibility.py Add type hints to misc. files. (#9676) 2021-03-24 06:49:01 -04:00