Skip to content

Commit

Permalink
Improve Pyright matcher (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted authored Jan 9, 2025
1 parent f78617a commit f1e494b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/pyright-matcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"owner": "pyright",
"pattern": [
{
"regexp": "^\\s\\s(\\S*\\.py):(\\d+):(\\d+)\\s-\\s(error|warning|information):([\\s\\S]+?)(?=(?:^\\s\\s\\S*\\.py:\\d+:\\d+\\s-\\s(?:error|warning|information):|\\z|\\d+ errors,))",
"regexp": "^\\s\\s(\\S*\\.py):(\\d+):(\\d+)\\s-\\s(error|warning|information):\\s([\\s\\S]+?)\\s\\(([\\s\\S]+?)(?=(?:\\)|\\d+ errors,))",
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
"severity": 4,
"message": 5,
"code": 6
}
]
}
Expand Down

0 comments on commit f1e494b

Please sign in to comment.