flake8
passed.
JSHint
passed.
Review Request #12172 — Created March 17, 2022 and submitted
This adds
JSONOutput.add_warning(), which is similar to
JSONOutput.add_error(), but works with awarningskey.It also fixes JSON outputting to sort keys, so that there's always a
consistent set of results, rather than dealing with dictionary sort
order.Documentation and some code has been cleaned up to better fit our
standards.
Unit tests pass.
Tested
add_warning()with an upcoming change torbt patch.
| Summary | ID |
|---|---|
| 101224fc1be78b18c2aea81a1e326a7a016ba72e |