Skip to content

Commit

Permalink
feat(vscode): use ruff for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Feb 24, 2024
1 parent 2fa995a commit 3775ab3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions dotfiles/Library/Application Support/Code/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"[python]": {
"editor.formatOnType": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "ms-python.black-formatter"
"editor.defaultFormatter": "charliermarsh.ruff"
},
"cSpell.language": "en-GB",
"cSpell.userWords": [
Expand All @@ -25,6 +25,7 @@
"dataframe",
"dateutil",
"deregister",
"Duckdb",
"hashicorp",
"httpx",
"Intelli",
Expand Down Expand Up @@ -121,6 +122,7 @@
"reportIncompatibleMethodOverride": "error",
"reportGeneralTypeIssues": "error"
},
"python.analysis.autoFormatStrings": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": false,
"files.watcherExclude": {
Expand Down Expand Up @@ -248,7 +250,11 @@
"mochaExplorer.logpanel": true,
"rust-analyzer.inlayHints.typeHints.enable": false,
"editor.inlayHints.fontSize": 10,
"typos.path": "~/code/typos-vscode/target/debug/typos-lsp",
"editor.inlineSuggest.suppressSuggestions": true,
"typos.logLevel": "info"
"typos.path": "~/code/typos-lsp/target/debug/typos-lsp",
"typos.logLevel": "debug",
"jupyter.debugJustMyCode": false,
"jupyter.askForKernelRestart": false,
"notebook.output.scrolling": true,
"cmake.showOptionsMovedNotification": false
}

0 comments on commit 3775ab3

Please sign in to comment.