Fixing yapf matcher
This commit is contained in:
13
.github/python_matcher.json
vendored
13
.github/python_matcher.json
vendored
@@ -4,9 +4,16 @@
|
||||
"owner": "yapf-diff",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(?:---|\\+\\+\\+)\\s*([^\\s]*)\\s*\\((?:original|reformatted)\\)$",
|
||||
"file": 1,
|
||||
"message": "This file needs formating."
|
||||
"regexp": "^---\\s*([^\\s]*)\\s*\\(original\\)$",
|
||||
"file": 1
|
||||
},
|
||||
{
|
||||
"regexp": "^\\+\\+\\+\\s*([^\\s]*)\\s*\\(reformatted\\)$",
|
||||
"message": 2
|
||||
},
|
||||
{
|
||||
"regexp": "^@@\\s*-(\\d+),(\\d+)\\s*\\+(\\d+),(\\d+)\\s*@@$",
|
||||
"line": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user