mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
4b42c37191
* fix: add pylint and fix issue * chore: add pylint to pre-commit * fix: local variable warning surfaced mistake in intree
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"
|
|
}
|
|
]
|
|
}
|