flake8
passed.
JSHint
passed.
Review Request #13965 — Created June 8, 2024 and submitted
In preparation for upcoming work, we've made a couple future-proofing
changes forPatchAuthor
andPatchResult
.Both classes now take keyword-only arguments, rather than positional
arguments. Callers can continue to pass in positional arguments for now,
but this is deprecated and will be removed in RBTools 7. The RBTools
codebase already passes in all arguments as keywords.They also now provide type hints for the attributes and the constructor
methods.
Unit tests pass.
Summary | ID |
---|---|
fb868b48a5ac71bfac20e6db4ecb5f4941b176cc |
Fixed the
patch_content
type to bebytes
instead of the (incorrectly-documented)str
.
Summary | ID | |
---|---|---|
6dea05a5b84591eba1a3c0752d67d473959222c4 | ||
fb868b48a5ac71bfac20e6db4ecb5f4941b176cc |
Revision 2 (+130 -30)