Skip to content
Snippets Groups Projects
Unverified Commit 86b976dc authored by Jean-Michel Picod's avatar Jean-Michel Picod Committed by GitHub
Browse files

Merge pull request #102 from jmichelp/master

Adjust yapf formatter
parents 20674c51 01047a0a
No related branches found
No related tags found
No related merge requests found
...@@ -4,18 +4,16 @@ ...@@ -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
} }
] ]
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment