mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Add problem matcher for Python formatting errors (#2833)
This commit is contained in:
parent
cbc1334b8d
commit
bfeb0b3639
1 changed files with 11 additions and 0 deletions
11
.github/workflows/matchers/lint-python.json
vendored
11
.github/workflows/matchers/lint-python.json
vendored
|
@ -1,5 +1,16 @@
|
||||||
{
|
{
|
||||||
"problemMatcher": [
|
"problemMatcher": [
|
||||||
|
{
|
||||||
|
"owner": "black",
|
||||||
|
"severity": "error",
|
||||||
|
"pattern": [
|
||||||
|
{
|
||||||
|
"regexp": "^(.*): (Please format this file with the black formatter)",
|
||||||
|
"file": 1,
|
||||||
|
"message": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"owner": "flake8",
|
"owner": "flake8",
|
||||||
"severity": "error",
|
"severity": "error",
|
||||||
|
|
Loading…
Reference in a new issue