12
.github/python_matcher.json
vendored
12
.github/python_matcher.json
vendored
@@ -4,18 +4,16 @@
|
|||||||
"owner": "yapf-diff",
|
"owner": "yapf-diff",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
{
|
{
|
||||||
"regexp": "^[+-]{3}\\s*([^\\s]*)\\s*\\((original|reformatted)\\)$",
|
"regexp": "^---\\s*([^\\s]*)\\s*\\(original\\)$",
|
||||||
"file": 1
|
"file": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"regexp": "^@@\\s*-(\\d+),(\\d+)\\s*\\+(\\d+),(\\d+)\\s*@@$",
|
"regexp": "^\\+\\+\\+\\s*([^\\s]*)\\s*\\((.*)\\)$",
|
||||||
"line": 1,
|
"message": 2
|
||||||
"column": 2
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"regexp": "^(\\s|\\+[^+]|\\-[^-]).*$",
|
"regexp": "^@@\\s*-(\\d+),(\\d+)\\s*\\+(\\d+),(\\d+)\\s*@@$",
|
||||||
"loop": true,
|
"line": 1
|
||||||
"message": 1
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user