Closed dimastbk closed 2 months ago
Maybe rewrite all schemas using dataclasses? If it is not a problem for performance.
Attention: Patch coverage is 89.71963%
with 22 lines
in your changes are missing coverage. Please review.
Project coverage is 95.38%. Comparing base (
1855cde
) to head (afe0439
). Report is 5 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for the review, sorry for 64 comments
Hmm, we forgot about test_protocol.py
and test_protocol_object_conversion.py
. They are important, because they allow us to verify how types in protocol
module actually work. Unfortunately, they don't. We need to do something with attributes from schema, otherwise everything will in # type: ignore
.
Changes
partial fixes #980
Add typing to all modules in protocol package.
Checklist
CHANGES
folder<issue_id>.<type>
(e.g.588.bugfix
)issue_id
change it to the pr id after creating the PR.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.Fix issue with non-ascii contents in doctest text files.