esphome/.github/workflows/matchers/lint-python.json

40 lines
753 B
JSON
Raw Normal View History

2020-07-14 14:34:44 +02:00
{
"problemMatcher": [
{
"owner": "black",
"severity": "error",
"pattern": [
{
"regexp": "^(.*): (Please format this file with the black formatter)",
"file": 1,
"message": 2
}
]
},
2020-07-14 14:34:44 +02:00
{
"owner": "flake8",
"severity": "error",
"pattern": [
{
"regexp": "^(.*):(\\d+): ([EFCDNW]\\d{3}.*)$",
2020-07-14 14:34:44 +02:00
"file": 1,
"line": 2,
"message": 3
}
]
},
{
"owner": "pylint",
"severity": "error",
"pattern": [
{
"regexp": "^(.*):(\\d+): (\\[[EFCRW]\\d{4}\\(.*\\),.*\\].*)$",
2020-07-14 14:34:44 +02:00
"file": 1,
"line": 2,
"message": 3
}
]
}
]
}