build: recommend vscode ruff extension for ocpp-server python code
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 18 Jun 2024 18:04:17 +0000 (20:04 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 18 Jun 2024 18:04:17 +0000 (20:04 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
tests/ocpp-server/.vscode/extensions.json
tests/ocpp-server/.vscode/settings.json

index 4850a673b52f502180dd17d48c1bb5a8ab60209d..29b973f92fb3898feb0b4e7ea91e112fcac19f83 100644 (file)
@@ -4,6 +4,7 @@
   "recommendations": [
     "EditorConfig.EditorConfig",
     "streetsidesoftware.code-spell-checker",
-    "ms-python.python"
+    "ms-python.python",
+    "charliermarsh.ruff"
   ]
 }
index 1a8d5a8190125954b79678c5289c063c6495b09a..57ce569e07b0dfdbe64fe038ad02f2e59de3f675 100644 (file)
@@ -1,3 +1,6 @@
 {
+  "editor.codeActionsOnSave": {
+    "source.fixAll": "explicit"
+  },
   "cSpell.words": ["evse", "ocpp", "websockets"]
 }