
All type hints gratefully received! On 16/03/2023 22:45, Glyph wrote:
If you've got some application code that you would like to type-check against these to see if they spot any bugs for you, that would be great, but if we I could get these approved, this type of comprehensive type-safety upgrade would make a nice tentpole for our first 2023 release.
I have just kicked off a run of Synapse's CI against the Deferred branch. It is somewhat unhappy [1], but eyeballing the error messages I can believe those are false positives that can be fixed by better annotations in Synapse. In other words: no red flags that I can see. I haven't tried the other branch: as far as I can see (well, grep), we don't use FilePath ourselves. [1]: https://github.com/matrix-org/synapse/actions/runs/4482279504/jobs/788010950... David R -- Copyright © 2023 Element - All rights reserved. The Element name, logo and device are registered trademarks of New Vector Ltd. Registered number: 10873661. Registered in England and Wales. Registered address: 10 Queen Street Place, London, United Kingdom, EC4R 1AG. This message is intended for the addressee only and may contain private and confidential information or material which may be privileged. If this message has come to you in error please delete it immediately and do not copy it or show it to any other person.