Skip to content

Commit

Permalink
Update vscode recommended settings to not cleanup noqa'd unused impor…
Browse files Browse the repository at this point in the history
…ts (#13363)
  • Loading branch information
Avasam authored Jan 4, 2025
1 parent 33d1b16 commit 9f28171
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .vscode/settings.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
// Let Ruff lint fixes handle imports
"source.organizeImports": "never"
"source.organizeImports": "never",
"source.unusedImports": "never"
}
},
// python.analysis is Pylance (pyright) configurations
"python.analysis.fixAll": [
"source.unusedImports"
// Explicitly omiting "source.convertImportFormat", some stubs use relative imports
// Explicitly omiting "source.unusedImports", Let Ruff lint fixes handle imports
],
"python.analysis.typeshedPaths": [
"${workspaceFolder}"
Expand Down

0 comments on commit 9f28171

Please sign in to comment.