Browse Source

black formatter

gc-server6 1 year ago
parent
commit
53f7a8d173
1 changed files with 4 additions and 0 deletions
  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.pythonPath": "/usr/bin/python",
     "python.testing.pytestEnabled": false,
     "python.testing.pytestEnabled": false,
     "python.testing.nosetestsEnabled": false,
     "python.testing.nosetestsEnabled": false,