• 
      

    Add JSONOutput.add_warning, and fix output to sort keys.

    Review Request #12172 — Created March 17, 2022 and submitted — Latest diff uploaded

    Information

    RBTools
    master

    Reviewers

    This adds JSONOutput.add_warning(), which is similar to
    JSONOutput.add_error(), but works with a warnings key.

    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 to rbt patch.

    Commits

    Files