浏览代码

Add Pylint

Lutz Roeder 3 年之前
父节点
当前提交
8ef6a1b46d
共有 2 个文件被更改,包括 9 次插入1 次删除
  1. 3 1
      .vscode/settings.json
  2. 6 0
      test/backend/.vscode/settings.json

+ 3 - 1
.vscode/settings.json

@@ -4,6 +4,8 @@
         "node_modules": true,
         "third_party": true
     },
+    "python.linting.enabled": true,
     "python.linting.pylintEnabled": true,
-    "python.linting.enabled": true
+    "python.linting.pylintCategorySeverity.convention": "Warning",
+    "python.linting.pylintCategorySeverity.refactor": "Warning"
 }

+ 6 - 0
test/backend/.vscode/settings.json

@@ -0,0 +1,6 @@
+{
+    "python.linting.enabled": true,
+    "python.linting.pylintEnabled": true,
+    "python.linting.pylintCategorySeverity.convention": "Warning",
+    "python.linting.pylintCategorySeverity.refactor": "Warning"
+}