forked-synapse/tests/handlers
David Robertson 6463244375
Remove unused # type: ignores (#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 Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
oidc_test_key.p8 JWT OIDC secrets for Sign in with Apple (#9549) 2021-03-09 15:03:37 +00:00
oidc_test_key.pub.pem JWT OIDC secrets for Sign in with Apple (#9549) 2021-03-09 15:03:37 +00:00
test_admin.py Add some type hints to the tests.handlers module. (#12207) 2022-03-11 07:07:15 -05:00
test_appservice.py Bound ephemeral events by key (#12544) 2022-04-26 20:14:21 +01:00
test_auth.py Add some type hints to the tests.handlers module. (#12207) 2022-03-11 07:07:15 -05:00
test_cas.py Add type hints to more tests files. (#12240) 2022-03-17 07:25:50 -04:00
test_deactivate_account.py Remove redundant get_success calls in test code (#12346) 2022-04-01 16:10:31 +01:00
test_device.py Add some type hints to the tests.handlers module. (#12207) 2022-03-11 07:07:15 -05:00
test_directory.py Add type hints to some tests/handlers files. (#12224) 2022-03-15 09:16:37 -04:00
test_e2e_keys.py Add type hints for tests/unittest.py. (#12347) 2022-04-01 16:04:16 +00:00
test_e2e_room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_federation_event.py Optimise _get_state_after_missing_prev_event: use /state (#12040) 2022-04-01 12:53:42 +01:00
test_federation.py Add type hints for tests/unittest.py. (#12347) 2022-04-01 16:04:16 +00:00
test_message.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
test_oidc.py Add type hints for tests/unittest.py. (#12347) 2022-04-01 16:04:16 +00:00
test_password_providers.py Remove unnecessary pass statements. (#12206) 2022-03-11 07:06:21 -05:00
test_presence.py Prevent a sync request from removing a user's busy presence status (#12213) 2022-04-13 16:21:07 +01:00
test_profile.py Remove redundant get_success calls in test code (#12346) 2022-04-01 16:10:31 +01:00
test_receipts.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_register.py Remove unused # type: ignores (#12531) 2022-04-27 14:03:44 +01:00
test_room_summary.py Do not return allowed_room_ids from /hierarchy response. (#12175) 2022-03-08 08:09:11 -05:00
test_room.py Pull out encrypted_by_default tests from user_directory tests (#10752) 2021-09-06 11:37:54 +01:00
test_saml.py Add type hints to some tests/handlers files. (#12224) 2022-03-15 09:16:37 -04:00
test_send_email.py Fix incompatibility with Twisted < 21. (#10713) 2021-08-27 16:33:41 +01:00
test_stats.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
test_sync.py Remove redundant get_success calls in test code (#12346) 2022-04-01 16:10:31 +01:00
test_typing.py Add type hints to tests files. (#12256) 2022-03-21 09:43:16 -04:00
test_user_directory.py Add type hints for tests/unittest.py. (#12347) 2022-04-01 16:04:16 +00:00