Skip to content

Commit

Permalink
Add problem matcher for Python formatting errors (esphome#2833)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxan authored Dec 1, 2021
1 parent cbc1334 commit bfeb0b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/matchers/lint-python.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit bfeb0b3

Please sign in to comment.