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",
|
"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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user