diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 4256f9a5b..6cb2787d6 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,9 +1,7 @@ { "recommendations": [ "charliermarsh.ruff", - "esbenp.prettier-vscode", "golang.go", - "ms-python.black-formatter", "ms-python.python", "ms-python.vscode-pylance" ] diff --git a/.vscode/settings.json b/.vscode/settings.json index a8853f26e..f78872832 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,27 +13,31 @@ "go.lintTool": "golangci-lint", "go.formatTool": "goimports", "go.testOnSave": true, - "gopls": { "formatting.local": "github.com/replicate/cog" }, + "gopls": { + "formatting.local": "github.com/replicate/cog" + }, "[json]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "vscode.json-language-features" }, "[jsonc]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "vscode.json-language-features" }, "[python]": { "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll": true, - "source.organizeImports": true + "source.fixAll": "explicit", + "source.organizeImports": "explicit" }, "editor.defaultFormatter": "charliermarsh.ruff" }, "python.languageServer": "Pylance", - "python.testing.pytestArgs": ["-vvv", "python"], + "python.testing.pytestArgs": [ + "-vvv", + "python" + ], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, - "python.formatting.provider": "black", - "python.linting.mypyEnabled": true, - "python.linting.mypyArgs": ["--show-column-numbers", "--no-pretty"], - "ruff.args": ["--config=pyproject.toml"] + "ruff.lint.args": [ + "--config=pyproject.toml" + ] }