From 8e42c8768ebeadede5391f31dc632e3693f995f2 Mon Sep 17 00:00:00 2001 From: colevandersWands <18554853+colevandersWands@users.noreply.github.com> Date: Sat, 28 Dec 2024 14:02:25 -0500 Subject: [PATCH] use ruff as formatter --- .vscode/settings.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5a90e202f..bbda5188d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -113,5 +113,14 @@ }, // Enable/disable update table of contents on save - "markdown.extension.toc.updateOnSave": false + "markdown.extension.toc.updateOnSave": false, + + "[python]": { + "editor.defaultFormatter": "charliermarsh.ruff", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.ruff": true, + "source.organizeImports.ruff": true + } + } }