[[Ruff(VSCode)]]がインストールされ、[[Ruff]]がフォーマッターとして使われている状態で `editor.codeActionsOnSave` の `source.fixAll` と `source.organizeImports` に `"explicit"` を指定する。 ```json { "[python]": { "editor.codeActionsOnSave": { "source.fixAll": "explicit", "source.organizeImports": "explicit" } } } ```