Автозаорт в коде Visual StudioPython

Программы на Python
Anonymous
 Автозаорт в коде Visual Studio

Сообщение Anonymous »

Что я делаю не так? Я использую новейшее расширение ISORT и работаю на Python 3.11 также Isort 5.11 < /p>
{
"editor.formatOnPaste": true,
"notebook.formatOnCellExecution": true,
"notebook.formatOnSave.enabled": true,
"editor.rulers": [
99
],
"jupyter.askForKernelRestart": false,
"remote.autoForwardPortsSource": "hybrid",
"editor.minimap.enabled": false,
"black-formatter.args": [
"--line-length",
"99"
],
"autoDocstring.docstringFormat": "sphinx-notypes",
"jupyter.widgetScriptSources": [
"jsdelivr.com",
"unpkg.com"
],
"security.allowedUNCHosts": [
"wsl.localhost"
],
"flake8.args": [
"--max-line-length=99"
],
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
},
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"isort.args": [
"--profile=black",
"--known-custompackages=damin,ludmon,semoi,eion",
"--sections=FUTURE,STDLIB,THIRDPARTY,CUSTOMPACKAGES,FIRSTPARTY,LOCALFOLDER",
]
}


Подробнее здесь: https://stackoverflow.com/questions/793 ... tudio-code

Вернуться в «Python»