From 9009496e716c6917f27b00d85a6f31a6ae8b9dc9 Mon Sep 17 00:00:00 2001
From: Samuel Guillemet <samuel.guillemet@telecom-sudparis.eu>
Date: Fri, 21 Jul 2023 15:37:42 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Add=20options=20to=20sett?=
 =?UTF-8?q?ings.json=20for=20vscode?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .vscode/settings.json | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/.vscode/settings.json b/.vscode/settings.json
index 55ec7b6..62de0da 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -28,35 +28,36 @@
     "./src"
   ],
   "editor.formatOnSave": true,
+  "python.formatting.provider": "black",
   "python.linting.enabled": true,
+  "python.linting.flake8Enabled": true,
+  "python.linting.mypyEnabled": true,
   "python.linting.pylintEnabled": true,
   "python.linting.pylintPath": ".venv/bin/pylint",
   "python.linting.pylintArgs": [
     "--load-plugins",
     "pylint_pydantic"
   ],
-  "terminal.integrated.env.linux": {
-    "PYTHONPATH": "${workspaceFolder}"
+  "isort.check": true,
+  "isort.args": [
+    "--profile",
+    "black"
+  ],
+  "python.testing.pytestEnabled": true,
+  "[python]": {
+    "editor.codeActionsOnSave": {
+      "source.organizeImports": true
+    },
+    "editor.defaultFormatter": "ms-python.black-formatter"
   },
   "search.exclude": {
     "**/dist": true,
     "**/.venv": true
   },
-  "[python]": {
-    "editor.defaultFormatter": "ms-python.black-formatter"
-  },
-  "python.formatting.provider": "black",
   "files.exclude": {
     "**/__pycache__": true,
     ".pytest_cache": true,
     ".mypy*": true,
     ".coverage": true,
   },
-  "python.testing.pytestEnabled": true,
-  // "python.testing.pytestArgs": [
-  //   "--"
-  // ],
-  "python.analysis.extraPaths": [
-    "./src"
-  ],
 }
\ No newline at end of file
-- 
GitLab