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
In my spare time (i.e. not paid Element time) I've been working to add type annotations to pynacl, see pyca/pynacl#660. This is almost done, and the maintainer is keen to include them in a new minor release, "in the next few days/weeks".
Once there's a release, we should remove pynacl from the list of imports we ignore in Sydent's mypy config. Then we should fixup any complaints. The same also holds true for signedjson and synapse.
From a quick glance, there seem to be two complaints:
we're adding version and alg attributes to pynacl SigningKey instances (both in Sydent and signedjson)
we're creating a SigningKey with a str rather than a bytes (missed in 2->3 conversion?)
The text was updated successfully, but these errors were encountered:
In my spare time (i.e. not paid Element time) I've been working to add type annotations to pynacl, see pyca/pynacl#660. This is almost done, and the maintainer is keen to include them in a new minor release, "in the next few days/weeks".
Once there's a release, we should remove pynacl from the list of imports we ignore in Sydent's mypy config. Then we should fixup any complaints. The same also holds true for
signedjson
andsynapse
.From a quick glance, there seem to be two complaints:
str
rather than abytes
(missed in 2->3 conversion?)The text was updated successfully, but these errors were encountered: