Skip to content

Commit

Permalink
code: black -> ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Nov 2, 2023
1 parent fc9b79c commit 243f27a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion .config/brew/Brewfile##c.Me
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ vscode "foxundermoon.shell-format"
vscode "golang.go"
vscode "James-Yu.latex-workshop"
vscode "ms-azuretools.vscode-docker"
vscode "ms-python.black-formatter"
vscode "ms-python.python"
vscode "ms-python.vscode-pylance"
vscode "ms-vscode-remote.remote-containers"
Expand Down
16 changes: 4 additions & 12 deletions .config/code/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
{
// Core
"diffEditor.ignoreTrimWhitespace": false,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.codeActionsOnSave": { "source.organizeImports": true },
"editor.fontFamily": "MesloLGS Nerd Font",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
Expand Down Expand Up @@ -38,27 +36,21 @@
},
// Languages //
// Docker
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
},
"[dockerfile]": { "editor.defaultFormatter": "ms-azuretools.vscode-docker" },
// Git
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"gitlens.statusBar.enabled": false,
// Go
"go.toolsManagement.autoUpdate": true,
"gopls": {
"importShortcut": "Definition"
},
"gopls": { "importShortcut": "Definition" },
// JavaScript / Typescript
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
// Python
"python.analysis.autoImportCompletions": true,
"python.analysis.typeCheckingMode": "basic",
"python.terminal.activateEnvironment": false, // handled by direnv
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
}
"[python]": { "editor.defaultFormatter": "charliermarsh.ruff" }
}

0 comments on commit 243f27a

Please sign in to comment.