From: Jérôme Benoit Date: Tue, 18 Jun 2024 18:04:17 +0000 (+0200) Subject: build: recommend vscode ruff extension for ocpp-server python code X-Git-Tag: v1.3.7~40 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a951fc1b6194c0f65fd19ea62f119cd26283f2fd;p=e-mobility-charging-stations-simulator.git build: recommend vscode ruff extension for ocpp-server python code Signed-off-by: Jérôme Benoit --- diff --git a/tests/ocpp-server/.vscode/extensions.json b/tests/ocpp-server/.vscode/extensions.json index 4850a673..29b973f9 100644 --- a/tests/ocpp-server/.vscode/extensions.json +++ b/tests/ocpp-server/.vscode/extensions.json @@ -4,6 +4,7 @@ "recommendations": [ "EditorConfig.EditorConfig", "streetsidesoftware.code-spell-checker", - "ms-python.python" + "ms-python.python", + "charliermarsh.ruff" ] } diff --git a/tests/ocpp-server/.vscode/settings.json b/tests/ocpp-server/.vscode/settings.json index 1a8d5a81..57ce569e 100644 --- a/tests/ocpp-server/.vscode/settings.json +++ b/tests/ocpp-server/.vscode/settings.json @@ -1,3 +1,6 @@ { + "editor.codeActionsOnSave": { + "source.fixAll": "explicit" + }, "cSpell.words": ["evse", "ocpp", "websockets"] }