vscode-isort
ignores isort
settings in pyproject.toml
#272
Labels
triage-needed
Issue is not triaged.
vscode-isort
ignores isort
settings in pyproject.toml
#272
I like to have all my project's configuration inside the
pyproject.toml
instead of relying on the IDE, since other people may have that configured differently.This is why I don't use this
settings.json
for my VS Code installation:but just:
Because in my
pyproject.toml
I have:The problem is that, when VS Code runs its internal
source.organizeImports
(which we know being just a maskedisort
) on save, it will completely ignore the settings specified in thepyrproject.toml
.On the other hand, when VS Code runs the
black
command for you on save, it will evaluate all settings you specified in yourpyproject.toml
, and so in my case it will setline-length = 100
correctly. The same thing doesn't apply to theisort
that VS Code runs behind the scenes, which completely ignores any setting you may have in yourpyrproject.toml
.The text was updated successfully, but these errors were encountered: