Skip to content

Commit bb1e1ca

Browse files
Avasamhoel-bagard
authored andcommitted
Update vscode recommended settings to not cleanup noqa'd unused imports (#13363)
1 parent d47dc5a commit bb1e1ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.vscode/settings.default.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,14 @@
7070
"editor.defaultFormatter": "ms-python.black-formatter",
7171
"editor.codeActionsOnSave": {
7272
// Let Ruff lint fixes handle imports
73-
"source.organizeImports": "never"
73+
"source.organizeImports": "never",
74+
"source.unusedImports": "never"
7475
}
7576
},
7677
// python.analysis is Pylance (pyright) configurations
7778
"python.analysis.fixAll": [
78-
"source.unusedImports"
7979
// Explicitly omiting "source.convertImportFormat", some stubs use relative imports
80+
// Explicitly omiting "source.unusedImports", Let Ruff lint fixes handle imports
8081
],
8182
"python.analysis.typeshedPaths": [
8283
"${workspaceFolder}"

0 commit comments

Comments
 (0)