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:
@@ -1772,6 +1772,9 @@
|
|||||||
"allow_rewrap": "anywhere"
|
"allow_rewrap": "anywhere"
|
||||||
},
|
},
|
||||||
"Python": {
|
"Python": {
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports.ruff": true
|
||||||
|
},
|
||||||
"formatter": {
|
"formatter": {
|
||||||
"language_server": {
|
"language_server": {
|
||||||
"name": "ruff"
|
"name": "ruff"
|
||||||
|
|||||||
Reference in New Issue
Block a user