Add new severity and text_extra options when commenting.

Review Request #11564 — Created March 30, 2021 and submitted

Information

ReviewBot
release-3.0.x

Reviewers

This introduces two new standard options for comments:

  • severity is a severity indicator, as provided by the tool. This can
    be used to help differentiate between errors, stylistic issues, or any
    other criteria offered by a tool.

  • text_extra is a list of tuples, each in (Header, Value) form.
    These are used for adding custom tool-specific information at the end
    of the comment text, after any built-in ones like Severity,
    Column, or Error code.

Unit tests passed.

Used these in an upcoming change.

Summary ID
Add new severity and text_extra options when commenting.
This introduces two new standard options for comments: * `severity` is a severity indicator, as provided by the tool. This can be used to help differentiate between errors, stylistic issues, or any other criteria offered by a tool. * `text_extra` is a list of tuples, each in `(Header, Value)` form. These are used for adding custom tool-specific information at the end of the comment text, after any built-in ones like `Severity`, `Column`, or `Error code`.
3a378a4da8294da749e3a89b131538905b5c800f
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (32dbd7c)