Enable source.organizeImports.ruff by default for Python (#41103)

Release Notes:

- Enabled automatic import organization, via
[ruff](https://github.com/astral-sh/ruff), when saving Python files. To
disable this, use:

```json
"Python": {
  "code_actions_on_format": { "source.organizeImports.ruff": false }
}
```
This commit is contained in:
Joseph T. Lyons
2025-10-24 13:44:23 +00:00
committed by GitHub
parent 8de4b360e8
commit fcd690d04c
+3
View File
@@ -1772,6 +1772,9 @@
"allow_rewrap": "anywhere"
},
"Python": {
"code_actions_on_format": {
"source.organizeImports.ruff": true
},
"formatter": {
"language_server": {
"name": "ruff"