Try to fix yapf matcher

This commit is contained in:
Jean-Michel Picod
2020-04-28 18:24:46 +02:00
parent b486ff44a6
commit 32f0090888

View File

@@ -4,7 +4,7 @@
"owner": "yapf-diff", "owner": "yapf-diff",
"pattern": [ "pattern": [
{ {
"regexp": "^[+-]{3}\\s*([^\\s]*)\\s*\\((original|reformatted)\\)$", "regexp": "^(?:---|\\+\\+\\+)\\s*([^\\s]*)\\s*\\((?:original|reformatted)\\)$",
"file": 1 "file": 1
}, },
{ {
@@ -13,7 +13,7 @@
"column": 2 "column": 2
}, },
{ {
"regexp": "^(\\s|\\+[^+]|\\-[^-]).*$", "regexp": "^((?:\\s|\\+[^+]|\\-[^-]).*)$",
"loop": true, "loop": true,
"message": 1 "message": 1
} }