mirror of https://github.com/pybind/pybind11
Browse Source
* fix: add pylint and fix issue * chore: add pylint to pre-commit * fix: local variable warning surfaced mistake in intreepull/3744/head
9 changed files with 124 additions and 33 deletions
@ -0,0 +1,32 @@ |
|||||||
|
{ |
||||||
|
"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" |
||||||
|
} |
||||||
|
] |
||||||
|
} |
Loading…
Reference in new issue