microsoft / vscode-isort

Import sorting for python using the isort library.
https://marketplace.visualstudio.com/items?itemName=ms-python.isort
MIT License
87 stars 21 forks source link

[Error] isort got an unexpected arguments `--filename` #169

Closed HAOCHENYE closed 1 year ago

HAOCHENYE commented 1 year ago

VScode version:

Version: 1.70.1 Commit: 6d9b74a70ca9c7733b29f0456fd8195364076dda Date: 2022-08-10T06:09:15.055Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Linux x64 5.4.0-132-generic

isort version: newest

isort config: empty

image

Error log:

image

brettcannon commented 1 year ago

Do you have isort installed somewhere else (like in your environment that you have selected)? The version of isort that we ship in the extension has a --filename option:

image