mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 05:06:13 +01:00
* GitHub Actions: Add pylint problem matcher * Create a pylint issue to test * Create another pylint issue to test * Register problem matcher in same step * Apply possible workaround * Disable problem matcher to catch raw output * Trying again with new CI containers * Extend problem matcher with errors and warnings * Improve matching, keep error code in message * Revert "Create another pylint issue to test" This reverts commit a90e23656eaddd4f1c2995572cc39a0d41022a5f. * Revert "Create a pylint issue to test" This reverts commit 9dd5148eb4ef74c3261144426d1b0b0f337cb3e5. * Fix stable name in job description
33 lines
624 B
JSON
33 lines
624 B
JSON
{
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "pylint-error",
|
|
"severity": "error",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(.+):(\\d+):(\\d+):\\s(([EF]\\d{4}):\\s.+)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4,
|
|
"code": 5
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"owner": "pylint-warning",
|
|
"severity": "warning",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(.+):(\\d+):(\\d+):\\s(([CRW]\\d{4}):\\s.+)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4,
|
|
"code": 5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|