Add problem matcher for Python formatting errors (#2833)

This commit is contained in:
Oxan van Leeuwen 2021-12-01 05:12:14 +01:00 committed by GitHub
parent cbc1334b8d
commit bfeb0b3639
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",