From 3775ab3b7963a5d1eb11ddab0adb7d90be7e4d26 Mon Sep 17 00:00:00 2001 From: Oliver Mannion <125105+tekumara@users.noreply.github.com> Date: Sat, 24 Feb 2024 17:16:00 +1100 Subject: [PATCH] feat(vscode): use ruff for formatting --- .../Application Support/Code/User/settings.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dotfiles/Library/Application Support/Code/User/settings.json b/dotfiles/Library/Application Support/Code/User/settings.json index b6412d2..3abdcb0 100644 --- a/dotfiles/Library/Application Support/Code/User/settings.json +++ b/dotfiles/Library/Application Support/Code/User/settings.json @@ -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": [ @@ -25,6 +25,7 @@ "dataframe", "dateutil", "deregister", + "Duckdb", "hashicorp", "httpx", "Intelli", @@ -121,6 +122,7 @@ "reportIncompatibleMethodOverride": "error", "reportGeneralTypeIssues": "error" }, + "python.analysis.autoFormatStrings": true, "python.linting.pylintEnabled": false, "python.linting.flake8Enabled": false, "files.watcherExclude": { @@ -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 }