diff --git a/problem-matchers/flake8.json b/problem-matchers/flake8.json index 5daec0d..7ef7c81 100644 --- a/problem-matchers/flake8.json +++ b/problem-matchers/flake8.json @@ -1,32 +1,32 @@ { - "problemMatcher": [ - { - "owner": "flake8-error", - "severity": "error", - "pattern": [ + "problemMatcher": [ { - "regexp": "^([^:]*):(\\d+):(\\d+): ([EF]\\d\\d\\d) (.*)$", - "file": 1, - "line": 2, - "column": 3, - "code": 4, - "message": 5 - } - ] - }, - { - "owner": "flake8-warning", - "severity": "warning", - "pattern": [ + "owner": "flake8-error", + "severity": "error", + "pattern": [ + { + "regexp": "^([^:]*):(\\d+):(\\d+): ([EF]\\d\\d\\d) (.*)$", + "file": 1, + "line": 2, + "column": 3, + "code": 4, + "message": 5 + } + ] + }, { - "regexp": "^([^:]*):(\\d+):(\\d+): ([W]\\d\\d\\d) (.*)$", - "file": 1, - "line": 2, - "column": 3, - "code": 4, - "message": 5 + "owner": "flake8-warning", + "severity": "warning", + "pattern": [ + { + "regexp": "^([^:]*):(\\d+):(\\d+): ([W]\\d\\d\\d) (.*)$", + "file": 1, + "line": 2, + "column": 3, + "code": 4, + "message": 5 + } + ] } - ] - } - ] + ] }