Update the ruff-format matcher to properly extract all info (#293)

Now that format also supports the github output format all info is
available
This commit is contained in:
Kevin Stillhammer
2026-01-12 18:20:59 +01:00
committed by GitHub
parent 7840fe30a7
commit 90ea8a399c
+9 -3
View File
@@ -4,9 +4,15 @@
"owner": "ruff-format", "owner": "ruff-format",
"pattern": [ "pattern": [
{ {
"file": 2, "code": 2,
"message": 1, "column": 5,
"regexp": "^(Would reformat):\\s*(.+)$" "endColumn": 7,
"endLine": 6,
"file": 3,
"line": 4,
"message": 8,
"regexp": "^(?:(error|warning|notice))\\s+title=([^,]+),file=([^,]+),line=(\\d+),col=(\\d+)(?:,endLine=(\\d+))?(?:,endColumn=(\\d+))?::(.+)$",
"severity": 1
} }
] ]
} }