mirror of https://github.com/esphome/esphome.git
Add problem matcher for Python formatting errors (#2833)
This commit is contained in:
parent
cbc1334b8d
commit
bfeb0b3639
|
@ -1,5 +1,16 @@
|
|||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "black",
|
||||
"severity": "error",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(.*): (Please format this file with the black formatter)",
|
||||
"file": 1,
|
||||
"message": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "flake8",
|
||||
"severity": "error",
|
||||
|
|
Loading…
Reference in New Issue