Skip to content
Snippets Groups Projects
Commit 332d7bc2 authored by Jean-Michel Picod's avatar Jean-Michel Picod
Browse files

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.
parent a6114964
No related branches found
No related tags found
No related merge requests found
...@@ -5,17 +5,8 @@ ...@@ -5,17 +5,8 @@
"pattern": [ "pattern": [
{ {
"regexp": "^(?:---|\\+\\+\\+)\\s*([^\\s]*)\\s*\\((?:original|reformatted)\\)$", "regexp": "^(?:---|\\+\\+\\+)\\s*([^\\s]*)\\s*\\((?:original|reformatted)\\)$",
"file": 1 "file": 1,
}, "message": "This file needs formating."
{
"regexp": "^@@\\s*-(\\d+),(\\d+)\\s*\\+(\\d+),(\\d+)\\s*@@$",
"line": 1,
"column": 2
},
{
"regexp": "^((?:\\s|\\+[^+]|\\-[^-]).*)$",
"loop": true,
"message": 1
} }
] ]
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment