Enable `source.organizeImports.ruff` by default for Python (#41103)
Joseph T. Lyons
created
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 }
}
```
Change summary
assets/settings/default.json | 3 +++
1 file changed, 3 insertions(+)
Detailed changes
@@ -1772,6 +1772,9 @@
"allow_rewrap": "anywhere"
},
"Python": {
+ "code_actions_on_format": {
+ "source.organizeImports.ruff": true
+ },
"formatter": {
"language_server": {
"name": "ruff"