Try to fix yapf matcher
This commit is contained in:
4
.github/python_matcher.json
vendored
4
.github/python_matcher.json
vendored
@@ -4,7 +4,7 @@
|
||||
"owner": "yapf-diff",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^[+-]{3}\\s*([^\\s]*)\\s*\\((original|reformatted)\\)$",
|
||||
"regexp": "^(?:---|\\+\\+\\+)\\s*([^\\s]*)\\s*\\((?:original|reformatted)\\)$",
|
||||
"file": 1
|
||||
},
|
||||
{
|
||||
@@ -13,7 +13,7 @@
|
||||
"column": 2
|
||||
},
|
||||
{
|
||||
"regexp": "^(\\s|\\+[^+]|\\-[^-]).*$",
|
||||
"regexp": "^((?:\\s|\\+[^+]|\\-[^-]).*)$",
|
||||
"loop": true,
|
||||
"message": 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user