瀏覽代碼

vs code add yapf and flake8 for lint and format

simon 1 年之前
父節點
當前提交
762c285553
共有 2 個文件被更改,包括 4198 次插入0 次删除
  1. 4190 0
      .vscode/PythonImportHelper-v2-Completion.json
  2. 8 0
      .vscode/settings.json

File diff suppressed because it is too large
+ 4190 - 0
.vscode/PythonImportHelper-v2-Completion.json


+ 8 - 0
.vscode/settings.json

@@ -0,0 +1,8 @@
+{
+    "python.linting.flake8Enabled": true,
+    "python.formatting.provider": "yapf",
+    "python.linting.flake8Args": [
+        "--max-line-length=248"
+    ],
+    "python.linting.pylintEnabled": false,
+}