diff --git a/.github/python_matcher.json b/.github/python_matcher.json index ac38ab7eca88eec6bca07f0cf5bd7b72337807ee..6c996756a1fc0fcb79d9db1510bb8eeb699e5307 100644 --- a/.github/python_matcher.json +++ b/.github/python_matcher.json @@ -4,18 +4,16 @@ "owner": "yapf-diff", "pattern": [ { - "regexp": "^[+-]{3}\\s*([^\\s]*)\\s*\\((original|reformatted)\\)$", + "regexp": "^---\\s*([^\\s]*)\\s*\\(original\\)$", "file": 1 }, { - "regexp": "^@@\\s*-(\\d+),(\\d+)\\s*\\+(\\d+),(\\d+)\\s*@@$", - "line": 1, - "column": 2 + "regexp": "^\\+\\+\\+\\s*([^\\s]*)\\s*\\((.*)\\)$", + "message": 2 }, { - "regexp": "^(\\s|\\+[^+]|\\-[^-]).*$", - "loop": true, - "message": 1 + "regexp": "^@@\\s*-(\\d+),(\\d+)\\s*\\+(\\d+),(\\d+)\\s*@@$", + "line": 1 } ] },