You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This is a tracking issue for PRs and issues related to invariance in the synapse codebase, to ensure extra stability and reduce undefined behaviour.
The plan is two-fold:
Reduce dynamic behaviour to statically-verifiable behaviour, where behaviour is explicitly notated instead of implicitly processed.
Introduce static typing annotations everywhere, to make it possible to check for undefined or variant behaviour.
Small PRs will be introduced cleaning these up iteratively.
PRs
To-Dos / Spotted Issues
Convert synapse.server.HomeServer.__init__() from dynamic to static behaviour.
(e.g. by adding __init__() signatures to subclasses, then disallowing receiving **kwargs)