Little more complex

This commit is contained in:
Danny McCormick 2019-07-08 14:52:17 -04:00 committed by GitHub
parent 05cb373632
commit 6e3973ea1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
.github/python.json vendored
View File

@ -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
}
]
}