MatrixSynapse/synapse/util
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
..
caches Remove unused `# type: ignore`s (#12531) 2022-04-27 14:03:44 +01:00
__init__.py
async_helpers.py Update `delay_cancellation` to accept any awaitable (#12468) 2022-04-22 18:20:06 +01:00
batching_queue.py
check_dependencies.py Try to detect borked package installations. (#12244) 2022-03-18 19:03:46 +00:00
daemonize.py
distributor.py
file_consumer.py
frozenutils.py Consistently use collections.abc.Mapping to check frozendict. (#12564) 2022-04-27 09:00:07 -04:00
gai_resolver.py
hash.py
httpresourcetree.py
iterutils.py
linked_list.py
logcontext.py
logformatter.py
macaroons.py
manhole.py
metrics.py
module_loader.py
msisdn.py
patch_inline_callbacks.py Bump `black` and `click` versions (#12320) 2022-03-29 10:41:19 +00:00
ratelimitutils.py
retryutils.py Bump `black` and `click` versions (#12320) 2022-03-29 10:41:19 +00:00
rlimit.py
stringutils.py
templates.py Implement a Jinja2 filter to extract localparts from email addresses (#12212) 2022-03-11 15:15:11 +00:00
threepids.py
wheel_timer.py