check_severity
Type: String
| Multiple: Yes
| Default: low, medium, high
This option allows specifying the Defect severity types which will be reported by the Check tools.
Another option for filtering source files is pio check --severity
command.
Example
[env:detect_only_medium_or_high_defects]
platform = ...
board = ...
check_severity = medium, high