Sort imports never end ...
https://github.com/microsoft/vscode-python/issues/13312#issuecomment-694285071
But great workaround using the locally installed isort via python.sortImports.path! It actually works without any issues along with the isort arguments and everything.
I'm not sure, but it seems good to put ʻisortin virtualenv and set
python.sortImports.path`.
poetry add -D isort
After setting to dev-dependencies
in, set"python.sortImports.path": "$ {workspaceFolder} /. Venv / bin / isort"
in .vscode / settings.json
.
Recommended Posts