From c8ec825f5bd64529fde74ab86cb78f7b8eef7c96 Mon Sep 17 00:00:00 2001 From: "Xuan (Sean) Hu" Date: Fri, 26 Jan 2024 18:38:18 +0800 Subject: [PATCH] chore: Update settings for code actions on save for vscode v1.85.0. (#289) --- .vscode/settings.json | 6 +++--- template/.vscode/settings.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 52554fc4..7250176e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,8 +7,8 @@ }, "[python]": { "editor.codeActionsOnSave": { - "source.fixAll.ruff": true, - "source.organizeImports.ruff": true + "source.fixAll.ruff": "explicit", + "source.organizeImports.ruff": "explicit" }, "editor.defaultFormatter": "charliermarsh.ruff", "editor.formatOnSave": true @@ -55,7 +55,7 @@ "viewcode" ], "editor.codeActionsOnSave": { - "source.fixAll": true + "source.fixAll": "explicit" }, "editor.formatOnSave": true, "editor.rulers": [ diff --git a/template/.vscode/settings.json b/template/.vscode/settings.json index 52554fc4..7250176e 100644 --- a/template/.vscode/settings.json +++ b/template/.vscode/settings.json @@ -7,8 +7,8 @@ }, "[python]": { "editor.codeActionsOnSave": { - "source.fixAll.ruff": true, - "source.organizeImports.ruff": true + "source.fixAll.ruff": "explicit", + "source.organizeImports.ruff": "explicit" }, "editor.defaultFormatter": "charliermarsh.ruff", "editor.formatOnSave": true @@ -55,7 +55,7 @@ "viewcode" ], "editor.codeActionsOnSave": { - "source.fixAll": true + "source.fixAll": "explicit" }, "editor.formatOnSave": true, "editor.rulers": [