浏览代码

black formatter

gc-server6 1 年之前
父节点
当前提交
53f7a8d173
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .vscode/settings.json

+ 4 - 0
.vscode/settings.json

@@ -1,4 +1,8 @@
 {
+    "[python]": {
+        "editor.defaultFormatter": "ms-python.black-formatter",
+        "editor.formatOnSave": true
+    },
     "python.pythonPath": "/usr/bin/python",
     "python.testing.pytestEnabled": false,
     "python.testing.nosetestsEnabled": false,