Skip to content

Commit 792a965

Browse files
authored
Deprecate python.sortImports settings (#20012)
1 parent cbb76d1 commit 792a965

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,13 +934,15 @@
934934
"type": "string"
935935
},
936936
"scope": "resource",
937-
"type": "array"
937+
"type": "array",
938+
"deprecationMessage": "%python.sortImports.args.deprecationMessage%"
938939
},
939940
"python.sortImports.path": {
940941
"default": "",
941942
"description": "%python.sortImports.path.description%",
942943
"scope": "machine-overridable",
943-
"type": "string"
944+
"type": "string",
945+
"deprecationMessage": "%python.sortImports.path.deprecationMessage%"
944946
},
945947
"python.tensorBoard.logDirectory": {
946948
"default": "",

package.nls.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,7 @@
113113
"python.testing.unittestArgs.description": "Arguments passed in. Each argument is a separate item in the array.",
114114
"python.testing.unittestEnabled.description": "Enable testing using unittest.",
115115
"python.venvFolders.description": "Folders in your home directory to look into for virtual environments (supports pyenv, direnv and virtualenvwrapper by default).",
116-
"python.venvPath.description": "Path to folder with a list of Virtual Environments (e.g. ~/.pyenv, ~/Envs, ~/.virtualenvs)."
116+
"python.venvPath.description": "Path to folder with a list of Virtual Environments (e.g. ~/.pyenv, ~/Envs, ~/.virtualenvs).",
117+
"python.sortImports.args.deprecationMessage": "This setting will be removed soon. Use `isort.args` instead.",
118+
"python.sortImports.path.deprecationMessage": "This setting will be removed soon. Use `isort.path` instead."
117119
}

0 commit comments

Comments
 (0)