1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat(vscode): replace black with ruff

This commit is contained in:
Ryan Cao 2023-11-25 18:20:11 +08:00
parent e0ee5bc742
commit 92e68180de
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E

View file

@ -12,6 +12,7 @@
"Catppuccin.catppuccin-vsc" "Catppuccin.catppuccin-vsc"
"Catppuccin.catppuccin-vsc-icons" "Catppuccin.catppuccin-vsc-icons"
"xaver.clang-format" "xaver.clang-format"
"charliermarsh.ruff"
"csstools.postcss" "csstools.postcss"
"denoland.vscode-deno" "denoland.vscode-deno"
"dbaeumer.vscode-eslint" "dbaeumer.vscode-eslint"
@ -28,7 +29,6 @@
"LeonardSSH.vscord" "LeonardSSH.vscord"
"jnoortheen.nix-ide" "jnoortheen.nix-ide"
"ms-python.isort" "ms-python.isort"
"ms-python.black-formatter"
"ms-python.vscode-pylance" "ms-python.vscode-pylance"
"ms-python.python" "ms-python.python"
"mvllow.rose-pine" "mvllow.rose-pine"
@ -136,7 +136,7 @@ in {
"gitlens.defaultDateFormat" = null; "gitlens.defaultDateFormat" = null;
"[python]"."editor.tabSize" = 4; "[python]"."editor.tabSize" = 4;
"[python]"."editor.defaultFormatter" = "ms-python.black-formatter"; "[python]"."editor.defaultFormatter" = "charliermarsh.ruff";
"[cpp]"."editor.defaultFormatter" = "xaver.clang-format"; "[cpp]"."editor.defaultFormatter" = "xaver.clang-format";
"[toml]"."editor.defaultFormatter" = "tamasfe.even-better-toml"; "[toml]"."editor.defaultFormatter" = "tamasfe.even-better-toml";
"[rust]"."editor.defaultFormatter" = "rust-lang.rust-analyzer"; "[rust]"."editor.defaultFormatter" = "rust-lang.rust-analyzer";