From 92e68180deca5514ee70148e2c261061464079e7 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Sat, 25 Nov 2023 18:20:11 +0800 Subject: [PATCH] feat(vscode): replace black with ruff --- home/apps/vscode.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/apps/vscode.nix b/home/apps/vscode.nix index d832c39..e9ed3df 100644 --- a/home/apps/vscode.nix +++ b/home/apps/vscode.nix @@ -12,6 +12,7 @@ "Catppuccin.catppuccin-vsc" "Catppuccin.catppuccin-vsc-icons" "xaver.clang-format" + "charliermarsh.ruff" "csstools.postcss" "denoland.vscode-deno" "dbaeumer.vscode-eslint" @@ -28,7 +29,6 @@ "LeonardSSH.vscord" "jnoortheen.nix-ide" "ms-python.isort" - "ms-python.black-formatter" "ms-python.vscode-pylance" "ms-python.python" "mvllow.rose-pine" @@ -136,7 +136,7 @@ in { "gitlens.defaultDateFormat" = null; "[python]"."editor.tabSize" = 4; - "[python]"."editor.defaultFormatter" = "ms-python.black-formatter"; + "[python]"."editor.defaultFormatter" = "charliermarsh.ruff"; "[cpp]"."editor.defaultFormatter" = "xaver.clang-format"; "[toml]"."editor.defaultFormatter" = "tamasfe.even-better-toml"; "[rust]"."editor.defaultFormatter" = "rust-lang.rust-analyzer";