diff --git a/.github/python.json b/.github/python.json index 9c3095c0..c8b9fe5c 100644 --- a/.github/python.json +++ b/.github/python.json @@ -4,13 +4,16 @@ "owner": "python", "pattern": [ { - "regexp": "^\\s*File\\s\\\"(.*)\\\",\\sline\\s(\\d+),\\sin\\s(.*)$", + "regexp": "^ File \"([^\"]*)\", line (\\d+).*", "file": 1, "line": 2 }, { - "regexp": "^\\s*raise\\s(.*)\\(\\'(.*)\\'\\)$", - "message": 2 + "regexp": "^ .*$" + }, + { + "regexp": "^(?! File)(.*)\\s*$", + "message": 1 } ] }