Files
OpenSK/.github/python_matcher.json
Jean-Michel Picod 332d7bc2ea Update yapf matcher.
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.
2020-04-28 18:36:04 +02:00

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
}
]
}
]
}