Extracting the diff is not very useful because messages are not concatenated. The line/column info is also not useful because the diff includes some context lines.
34 lines
901 B
JSON
34 lines
901 B
JSON
{
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "yapf-diff",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(?:---|\\+\\+\\+)\\s*([^\\s]*)\\s*\\((?:original|reformatted)\\)$",
|
|
"file": 1,
|
|
"message": "This file needs formating."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"owner": "pylint",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^PYLINT:(.*)/.*$",
|
|
"fromPath": 1
|
|
},
|
|
{
|
|
"regexp": "^\\*{13}\\s*Module\\s+(.*)$",
|
|
"file": 1
|
|
},
|
|
{
|
|
"regexp": "^([CEFIRW]\\d{4}):\\s*(\\d+)\\s*:\\s*(.*)$",
|
|
"code": 1,
|
|
"line": 2,
|
|
"message": 3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|