From 332d7bc2ea775dccdd481a150e403e674d8efa23 Mon Sep 17 00:00:00 2001 From: Jean-Michel Picod <jmichel@google.com> Date: Tue, 28 Apr 2020 18:36:04 +0200 Subject: [PATCH] Update yapf matcher. Extracting the diff is not very useful because messages are not concatenated. The line/column info is also not useful because the diff includes some context lines. --- .github/python_matcher.json | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/python_matcher.json b/.github/python_matcher.json index 6532ac3..d66fea8 100644 --- a/.github/python_matcher.json +++ b/.github/python_matcher.json @@ -5,17 +5,8 @@ "pattern": [ { "regexp": "^(?:---|\\+\\+\\+)\\s*([^\\s]*)\\s*\\((?:original|reformatted)\\)$", - "file": 1 - }, - { - "regexp": "^@@\\s*-(\\d+),(\\d+)\\s*\\+(\\d+),(\\d+)\\s*@@$", - "line": 1, - "column": 2 - }, - { - "regexp": "^((?:\\s|\\+[^+]|\\-[^-]).*)$", - "loop": true, - "message": 1 + "file": 1, + "message": "This file needs formating." } ] }, -- GitLab