aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-22 21:04:50 +0200
committerGravatar ks129 <[email protected]>2020-11-22 21:04:50 +0200
commit540d834eba3ddf45ea8d4318cd9d13cf0a5d86a6 (patch)
treee0c67e6300910c0c2a6d4fbb64fd11a510aaac13 /.github
parentExclude .venv, .cache and .git from flake8 lint (diff)
Add flake8 matchers
Diffstat (limited to '.github')
-rw-r--r--.github/flake8-matchers.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/flake8-matchers.json b/.github/flake8-matchers.json
new file mode 100644
index 0000000..7ef7c81
--- /dev/null
+++ b/.github/flake8-matchers.json
@@ -0,0 +1,32 @@
+{
+ "problemMatcher": [
+ {
+ "owner": "flake8-error",
+ "severity": "error",
+ "pattern": [
+ {
+ "regexp": "^([^:]*):(\\d+):(\\d+): ([EF]\\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
+ }
+ ]
+ }
+ ]
+}