Explorar el Código

isort und black

gc-server3 hace 10 meses
padre
commit
979eef9b87
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  1. 6 2
      .vscode/settings.json

+ 6 - 2
.vscode/settings.json

@@ -1,8 +1,12 @@
-{  
+{
     "[python]": {
         "editor.defaultFormatter": "ms-python.black-formatter",
-        "editor.formatOnSave": true
+        "editor.formatOnSave": true,
+        "editor.codeActionsOnSave": {
+            "source.organizeImports": "explicit",
+        },
     },
+    "isort.args":["--profile", "black"],
     "black-formatter.args": ["--line-length", "120"],
     "python.testing.pytestEnabled": false,
     "python.testing.unittestEnabled": true,