* chore: add PyLint and fix most issues * fix: minor fixes after first push * chore: remove reference to old toml lib * chore: minor options cleanup * ci: only fail with many pylint issues, annotate in GHA * refactor: address review * ci: force nox to report in CI * refactor: use map instead of if chain * refactor: simpler shell_with_arch * refactor: even simpler shell_with_arch * Restore if...elif...else blocks where guard-style is not intended Co-authored-by: Joe Rickerby <joerick@mac.com>
33 lines
668 B
JSON
33 lines
668 B
JSON
{
|
|
"problemMatcher": [
|
|
{
|
|
"severity": "warning",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^([^:]+):(\\d+):(\\d+): ([A-DF-Z]\\d+): \\033\\[[\\d;]+m([^\\033]+).*$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"code": 4,
|
|
"message": 5
|
|
}
|
|
],
|
|
"owner": "pylint-warning"
|
|
},
|
|
{
|
|
"severity": "error",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^([^:]+):(\\d+):(\\d+): (E\\d+): \\033\\[[\\d;]+m([^\\033]+).*$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"code": 4,
|
|
"message": 5
|
|
}
|
|
],
|
|
"owner": "pylint-error"
|
|
}
|
|
]
|
|
}
|