From 6e3973ea1c197f9582b4e76372a90672aff2ed69 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Mon, 8 Jul 2019 14:52:17 -0400 Subject: [PATCH] Little more complex --- .github/python.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/python.json b/.github/python.json index c8ac9cb..11a3967 100644 --- a/.github/python.json +++ b/.github/python.json @@ -4,9 +4,11 @@ "owner": "python", "pattern": [ { - "regexp": "^\\s*raise\\s(.*)\\(\\'(.*)\\'\\)$", - "severity": 1, - "message": 2 + "regexp": "^\\s*File\\s\\\"(.*)\\\",\\sline\\s(\\d+),\\sin\\s(.*)\\s*raise\\s(.*)\\(\\'(.*)\\'\\)$", + "file": 1, + "line": 2, + "severity": 4, + "message": 5 } ] }